THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/02/2003 at 06:25, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
after coding code for a couple of object und tag plugins, I have to state, that it's quite impossible to find bugs without any debugger. I tried the MSVCDebugTool but I can't get it work. I've done the steps described in the manual :-) but all my breakpoints are ignored. I tried then to execute from MSVC, but it tells me, the file xy.cdl can't be found. I can't imagine at all, that it's possible to run the plugin from MSVC, even if C4D is open.
How can I debug my code?
Another question: I'm always reading that one have to use Free() to free the memory allocated e.g. for new objects. But when? How can I free the memory of an object that I want to insert it into the doc. I assume that c4d includes new objects into it's baselists rather than copy it. So I think I cannot free the object's memory!?
Thanks for answers in advance.