User forums > Using Code::Blocks
Compiler is not working / not stopping at breakpoints
(1/1)
Louis-Philippe:
Hi everyone,
I am using ubuntu 11.10 (and GNU GCC compiler) and I am having trouble getting the debugger to work, I try to set breakpoints but the compiler just does not pause when passing them. (Even when I create a new "hello world" project.)
I have already looked around for a solution on this forum and elsewhere, but I have not found the problem yet.
My directories only include normal and capital letters, so there should be no issue with incorrect file paths with strange symbols causing problems.
I have also checked the debugger settings and have set these in the same way as illustrated in the wiki here: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
I have also re-installed and rebooted, and I have tried resetting the compiler settings to default.
Help would be greatly appreciated!
Regards
LP
oBFusCATed:
--- Quote from: Louis-Philippe on April 30, 2012, 03:13:36 pm ---I try to set breakpoints but the compiler just does not pause when passing them.
--- End quote ---
What does this mean? Compiler or debugger? Pause or stop?
Do you have the -g option enabled and -s option and optimization options disabled?
Have you looked at the full log of the debugger?
Any errors in it?
What is your version of C::B?
Louis-Philippe:
I meant that the debugger was not pausing when executing the program.
Whatever the problem was it seems to have resolved itself since I booted my machine this morning.
Nevertheless thank you for your response to my question!
Regards,
LP
Navigation
[0] Message Index
Go to full version