AnsweredAssumed Answered

KDS 3.0.0 debug level problem

Question asked by James Brady on Aug 25, 2015
Latest reply on Aug 28, 2015 by James Brady

I recently had a problem with KDS 3.0.0 where the debug level I set in the Debug Level drop-down control for example "Default (-g)", did not get put in the makefile and my .elf executable contained no debug information.  In other words, even though I wanted debug information included in the executable, it was not.  So of course gdb complained that it could not find source code and other things.  When I added "-g" to the  "Other debugging flags" box, then -g was included in the makefile and the .elf file became much larger as expected, and debug was fine.

 

Has anyone seen this ? and any ideas how this could happen ?

 

This problem only happened on a CodeWarrior 10.6 processor expert project I had migrated to KDS 3.0.0.  On a new project created in KDS this problem did not occur.  Am using KDS 3.0.0 on Windows 7. The debug setting I am talking about is in C/C++ Build -> Settings -> Debugging screen.

 

Thanks for the help,

Jim

Outcomes