News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

newbie needs help debugging

Started by minnew, May 09, 2006, 11:38:36 PM

Previous topic - Next topic

minnew

When I try to debug (F8) some source code (which compiles and executes fine), I get the "The project/target has no debugging info" error message.  What does this mean, and how do I fix it?

thanks

MortenMacFly

Make sure you enabled the compiler option "-g" in your project. This will produce the debugger information in your executable. Please note that if you set this option a re-build of your application is required.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Michael

Hello,

Project-->Build options-->Compiler flags tab-->check the box named "Producing debugging symbols [-g]".

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]