TrackAllocation asserts: why? How to get rid of it?
I am having trouble with this kind of assert with InDesign CS5.5. Here at my company we developed a plug-in that exists since InDesign 2.0 and CS3, running without any problem other than bugs within itself. But since we managed to get the Debug version of InDesign CS5.5 to track our code, I got HUNDRENDS of this warning. Most of it related to K2 collections and iteration, like:
- when I duplicate a AttributeBossList;
- when I use a K2Vector with some datatypes;
- when I use the IParcelList::iterator;
- when I use the IIntegratorTarget::GetTarget method;
- among other cases.
I tried to reduce the messages, by replacing K2Vector with std::vector, but that wasn't enough. I suspect it is caused by some mixed memory reallocation and the InDesign debug tracker got lost somehow, but have no clue of WHY. Because of that huge amount of asserts, the debuging process became quite useless
Does anyone know WHAT should a look for, and where, to see WHY is this hapenning?
