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.