User forums > Help

[solved]msys32 and codeblocks

<< < (2/2)

visir:
Okay, made a simple c++ project, it compiles and runs fine.

Can't get debugger to work though.

1) I'm setting breakpoints,
2) in settings -> debugger -> Default -> Executable path I have set full path to gdb.exe,
3) in project -> build options -> debug I have set "Produce debugging symbols -g"
4) set build target to debug
5) rebuild everything just in case

But program ignores all breakpoints and finishes. Did I miss something?

BlueHazzard:
please post a full debugger log.
You maybe have to enable the full debugger logging in Settings->Debugger->Common (i do not remember the correct path to the setting, but  it should be there somewhere)

The debugger log is found under the Debugger log tab in the messages panel

greetings

visir:
Sorry, I was pressing "run" arrow instead of "debug" arrow.

Seems to work now, thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version