You can enter any arbitrary gdb command in the command line under the debugger log. But I don't know if the output parser of codeblocks catches up with all things you do there, so you may end in an non-synchronous state where codeblocks and gdb can not speak to each other anymore ....