Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Louis-Philippe on April 30, 2012, 03:13:36 pm

Title: Compiler is not working / not stopping at breakpoints
Post by: Louis-Philippe on April 30, 2012, 03:13:36 pm
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  (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


Title: Re: Compiler is not working / not stopping at breakpoints
Post by: oBFusCATed on April 30, 2012, 03:39:18 pm
I try to set breakpoints but the compiler just does not pause when passing them.
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?
Title: Re: Compiler is not working / not stopping at breakpoints
Post by: Louis-Philippe on May 02, 2012, 02:59:34 pm
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