From what I've seen, now that CB uses pending breakpoints, you can just set a breakpoint and then hit the Debug / Continue button like any other IDE debugger. Things to keep in mind when using the CB debugger:
1 Turn on the debugger log (Settings->Debugger Options->Display debugger's log) then close/reopen CB
2*** If the debugger seems frozen, or the Debugger (debug) log shows gdb in an endless loop, then open task manager and kill gdb.exe. This will end the debugging session when gdb isn't responding (so the Stop Debugger button may not terminate it)
Try this:
1. Compile the latest svn using CB
2. run update.bat and then put a breakpoint in plugins\astyle\astyleplugin.cpp on the first line of Execute().
3. Hit the Debug / Continue button
4. Give it a minute - debugging an exe takes much longer than running it normally. Now create a new wxWidgets project somewhere.
5. Open the generated main.cpp and hit Plugins->AStyle.
It should break. This used to not work, but now gdb 6.3's pending breakpoints are used to make it break in source code that is not yet loaded...
Here's what you should get:
Selecting target: src
Compiling: done
Adding source dir: C:\Documents and Settings\coke\Desktop\1\src\
Changing directory to: devel
Adding file: devel\codeblocks.exe
Starting debugger: done
Debugger name and version: GNU gdb 6.3
No source file named C:/DOCUME~1/coke/Desktop/1/src/plugins/astyle/astyleplugin.cpp.
Breakpoint 1 (C:/DOCUME~1/coke/Desktop/1/src/plugins/astyle/astyleplugin.cpp:83) pending.
Pending breakpoint "C:/DOCUME~1/coke/Desktop/1/src/plugins/astyle/astyleplugin.cpp:83" resolved
At C:/DOCUME~1/coke/Desktop/1/src/plugins/astyle/astyleplugin.cpp:83