Code::Blocks Forums

User forums => Help => Topic started by: hckr83 on March 17, 2006, 01:54:43 am

Title: debugger always says "project has no debug info"
Post by: hckr83 on March 17, 2006, 01:54:43 am
no matter what i do it always says "project/target has no debugging info" even though i have it to compile with debug info and no optimization
i also try loading a symbol file but it still says no symbol file loaded
Title: Re: debugger always says "project has no debug info"
Post by: sethjackson on March 17, 2006, 02:27:11 am
What compiler? What C::B version? If you have RC2 get a nightly from here (http://forums.codeblocks.org/index.php?board=20.0)

Umm it could be that you are setting the debug flag for a single target and not the whole project........

EDIT:

You need GDB 6.3 for GCC......
Title: Re: debugger always says "project has no debug info"
Post by: thomas on March 17, 2006, 08:32:59 am
Could be you're stripping your executable, too.
Title: Re: debugger always says "project has no debug info"
Post by: hckr83 on March 17, 2006, 09:55:41 am
c::b version is 1.0-RC1
i got v6.3 of gbd
how would you go about setting that flag

edit:
nvm i did have optimization(strip symbols)
it was hiding from me in the global compiler options
Title: Re: debugger always says "project has no debug info"
Post by: Michael on March 17, 2006, 12:34:28 pm
c::b version is 1.0-RC1

RC1? You might would like to download the latest nightly build :).

Best wishes,
Michael
Title: Re: debugger always says "project has no debug info"
Post by: sethjackson on March 17, 2006, 01:02:10 pm
RC1?  :shock:  You want a nightly build for sure. I put a link in my first post....