Author Topic: debugger always says "project has no debug info"  (Read 4960 times)

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
debugger always says "project has no debug info"
« 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

sethjackson

  • Guest
Re: debugger always says "project has no debug info"
« Reply #1 on: March 17, 2006, 02:27:11 am »
What compiler? What C::B version? If you have RC2 get a nightly from here

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......

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: debugger always says "project has no debug info"
« Reply #2 on: March 17, 2006, 08:32:59 am »
Could be you're stripping your executable, too.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: debugger always says "project has no debug info"
« Reply #3 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
« Last Edit: March 17, 2006, 10:05:59 am by hckr83 »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: debugger always says "project has no debug info"
« Reply #4 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

sethjackson

  • Guest
Re: debugger always says "project has no debug info"
« Reply #5 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....