Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Kapellen421 on October 11, 2006, 11:39:38 pm

Title: Debugger error message (Project/Target has no debugging info.....)
Post by: Kapellen421 on October 11, 2006, 11:39:38 pm
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
Title: Re: Debugger error message (Project/Target has no debugging info.....)
Post by: Ceniza on October 12, 2006, 03:11:26 am
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:
Title: Re: Debugger error message (Project/Target has no debugging info.....)
Post by: Pecan on October 12, 2006, 03:16:29 am
   //-- Nightly Builds
   http://forums.codeblocks.org/index.php?board=20.0

   //-- Wiki Index
   http://wiki.codeblocks.org/index.php?title=Special:Allpages
        Search for "nightly"
Title: Re: Debugger error message (Project/Target has no debugging info.....)
Post by: Kapellen421 on October 12, 2006, 09:03:03 pm
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
Title: Re: Debugger error message (Project/Target has no debugging info.....)
Post by: thomas on October 13, 2006, 10:16:13 am
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.