Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: JoeH on October 10, 2025, 06:14:06 am

Title: Can't Get Debugger to Work
Post by: JoeH on October 10, 2025, 06:14:06 am
I have tried several times to use the debugging capability of Code::Blocks, but I cannot get it to work.  I am using version 25.03 on Windows 11.  Most recently, I tried to follow a YouTube "How To" video with no better luck.  The small C language test program will compile (Debug Build Target selected) and execute successfully.  However, when I try to run the debugger, it appears that Code::Blocks tries to rebuild the code and fails.  Is there something else besides selecting the Debug build target that must be done before the debugger will work?

Joe
Title: Re: Can't Get Debugger to Work
Post by: ollydbg on October 10, 2025, 07:00:37 am
Quote
when I try to run the debugger, it appears that Code::Blocks tries to rebuild the code and fails

I'm not sure how you configure the debugger, and I don't know what is the exactly error, can you show us some log message about debugger? It is normally in the "Debugger" output panel in the bottom of the IDE window.