News:

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

Main Menu

Debugger error message (Project/Target has no debugging info.....)

Started by Kapellen421, October 11, 2006, 11:39:38 PM

Previous topic - Next topic

Kapellen421

I have CB RC2. I have -g checked yet I still get this error. Project Target has no debugging info Please change this in the projects build options and retry again.  I have no clue what to do. I could really use the help. Thanks

Ceniza

Uninstall RC2 and install a Nightly Build (check the forums for details) and be sure you have GDB 6.x instead of 5.x. That should do :wink:

Pecan

   //-- Nightly Builds
   http://forums.next.codeblocks.org/index.php?board=20.0

   //-- Wiki Index
   http://wiki.codeblocks.org/index.php?title=Special:Allpages
        Search for "nightly"

Kapellen421

I tried the daily release thing. But it was hard to follow so I just uninstalled and reinstalled CB and that worked.

P.S. THANKS ALOT FOR THE ADVICE :D :D :D

thomas

While it is generally true that nightly builds have far better debugger support and gdb 6 is a lot better than gdb 5, the particular error "Project/Target has no debugging info" is likely not related to either.

You probably enabled "strip executable" by accident (maybe in the system-wide compiler options), so no matter whether or not you have -g in your project, the symbols will be stripped off as the last thing. Reinstalling will have cleared out the settings, so that'll be why it works now.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."