Ok, it's a good idea! In the meantime I'll look at the DevCpp source to see how internal debugger is implemented.