Author Topic: Breakpoint Being Ignored <with full debugger log>  (Read 20439 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Breakpoint Being Ignored <with full debugger log>
« Reply #30 on: March 22, 2015, 11:47:21 am »
And inspecting options is not enough, please also inspect a full rebuild-log.

Offline wayne.workman2012

  • Single posting newcomer
  • *
  • Posts: 4
Re: Breakpoint Being Ignored <with full debugger log>
« Reply #31 on: March 22, 2015, 02:50:04 pm »
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:




Offline wayne.workman2012

  • Single posting newcomer
  • *
  • Posts: 4
Re: Breakpoint Being Ignored <with full debugger log>
« Reply #32 on: March 22, 2015, 06:34:43 pm »
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Breakpoint Being Ignored <with full debugger log>
« Reply #33 on: March 22, 2015, 07:14:59 pm »
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.

Offline wayne.workman2012

  • Single posting newcomer
  • *
  • Posts: 4
Re: Breakpoint Being Ignored <with full debugger log>
« Reply #34 on: March 23, 2015, 06:48:10 pm »
Duly noted.

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