CnPack Forum » CnWizards IDE Wizards » CnDebugger access violation


2011-8-27 00:31 kinezos
CnDebugger access violation

when NDEBUG is defined CnDebugger.TraceEnter generates an access violation
at line
Index := FThrdIDList.IndexOf(Pointer(ThrdID));

please help

2011-8-28 19:48 Passion
Thanks. I'll check it.

2011-8-28 20:43 Passion
It's because CnDebugger is nil when NDEBUG is defined.

Our code has some unuseful access to CnDebugger's filelds when NDEBUG is defined. We'll correct it at next version.

2011-8-31 00:36 kinezos
ok Passion
now comment out TraceEnter

usefull extensions
dynamic run-time control of trace output
do not link CnDebug in the exe when NDEBUG is defined

thanks

页: [1]
查看完整版本: CnDebugger access violation


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.