News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Breakpoint Being Ignored <with full debugger log>

Started by dcbdbis, December 13, 2013, 02:01:44 AM

Previous topic - Next topic

Jenna

And inspecting options is not enough, please also inspect a full rebuild-log.

wayne.workman2012

I started up codeblocks and opened my project. I clicked the "Rebuild" button (two blue arrows in a circle).

Towards the bottom, under the "Build Log" tab, I see this:




wayne.workman2012

Just wanted to say that I figured this out finally.


It wasn't code blocks, it was me.

I was clicking the green "run" arrow, and not the red "Run" arrow.


For all those reading this:  The green arrow builds without debugging. The red arrow builds with debugging.

If you want to use break points and such, you have to use the red arrow.

Jenna

Not really correct, the green triangle starts the executable without debugger, the red one (in the debugger toolbar) starts the debugger and runs the executable through it.
Both do not build the sources, even if the default debugger-configuration builds the exe before running it.

wayne.workman2012

Duly noted.

This issue is probably something that a lot of people coming from Visual Studio get caught up in... like me.