Code::Blocks Forums
User forums => Help => Topic started by: ninio_arg on January 04, 2014, 09:03:09 am
-
I know, I know. This is not a news. I've read the posts about this issue on this forum, but I couldn't fix it.
I'm on Slackware 14.1 and I've compiled CB 12.11 from the sources. I'm trying a simple C++ Hello Wold-like program just to check this problem.
I read this http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks and everything is fine (-g option, etc).
I don't have any space at the project path or at the C::B path.
When I run from a terminal, it says that symbols were loaded. So, -g is working.
I don't know what to do :S
-
Enable and post the full log from the debugger.
Does in terminal gdb stop at breakpoints?
-
Does in terminal gdb stop at breakpoints?
Yes, it does.
Enable and post the full log from the debugger.
How can I do it?.
-
Settings -> Debugger -> Common -> Full log...
Then right click -> copy to clipboard
-
Sorry, but I don't know what or where is the output. The "Debugger" tab in "Log & others" is empty. :S
-
The "Debugger" tab in "Log & others" is empty. :S
It will have texts when your start the debugging.
-
The "Debugger" tab in "Log & others" is empty. :S
It will have texts when your start the debugging.
That's the problem. It hasn't. Even when the program stops waiting for an input.
-
It will have texts when your start the debugging.
That's the problem. It hasn't. Even when the program stops waiting for an input.
Strange, please tell us the exact steps you did. Thanks.
-
I open my project (.cbp). The build target is "Debug". I click on Build (or Rebuild). After checking the tab "Build messages" and see everything is fine, I put my breakpoints and I click on "Run".
Breakpoints aren't read, and if the program stops at some user input, the "Debugger" tab is empty. Indeed, it's empty all the time.
-
I open my project (.cbp). The build target is "Debug". I click on Build (or Rebuild). After checking the tab "Build messages" and see everything is fine, I put my breakpoints and I click on "Run".
Breakpoints aren't read, and if the program stops at some user input, the "Debugger" tab is empty. Indeed, it's empty all the time.
Note, you should click the "Debug/Continue" button, not "Run" button to start debugging.
-
I open my project (.cbp). The build target is "Debug". I click on Build (or Rebuild). After checking the tab "Build messages" and see everything is fine, I put my breakpoints and I click on "Run".
Breakpoints aren't read, and if the program stops at some user input, the "Debugger" tab is empty. Indeed, it's empty all the time.
Note, you should click the "Debug/Continue" button, not "Run" button to start debugging.
OMG!!. What a shame!!. Yes sir, that's all!. Just use Start / Continue (F8), and not Run (F9).
Thank you so much!.
-
;D ::) :P