Quitting normally works without it thinking there is an exception
This commit is contained in:
parent
438e474cf7
commit
40f63c1e2d
2 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class MI2DebugSession extends DebugSession {
|
|||
this.sendResponse(response);
|
||||
this.gdbDebugger = new MI2("gdb", ["-q", "--interpreter=mi2"]);
|
||||
this.gdbDebugger.on("quit", this.quitEvent.bind(this));
|
||||
this.gdbDebugger.on("exited-normally", this.quitEvent.bind(this));
|
||||
this.gdbDebugger.on("stopped", this.stopEvent.bind(this));
|
||||
this.gdbDebugger.on("msg", this.handleMsg.bind(this));
|
||||
this.gdbDebugger.on("breakpoint", this.handleBreakpoint.bind(this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue