A year ago I faced the same challenge, and spent some time digging.
The closest I came to a solution is by searching for "Turbo Debugger", but I think there is a far way to have something working from codeblocks with that.
Since I have only used MinGW and Microsoft for that exact reason.