Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
newbie needs help debugging
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
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
Logged
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.
Logged
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
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
Logged
http://img207.imageshack.us/img207/9728/411948picture4em.png
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
newbie needs help debugging