Fixed issue which could make the debugger stop if a command raised some error (and fixed issue where a breakpoint could become invalid).