Author Topic: newbie needs help debugging  (Read 3615 times)

minnew

  • Guest
newbie needs help debugging
« on: May 09, 2006, 11:38:36 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: newbie needs help debugging
« Reply #1 on: May 09, 2006, 11:43:30 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: newbie needs help debugging
« Reply #2 on: May 09, 2006, 11:44:23 pm »
Hello,

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

Best wishes,
Michael