Skip to content

Commit

Permalink
Fixed bug #62.
Browse files Browse the repository at this point in the history
  • Loading branch information
nxyd committed Jun 14, 2018
1 parent 21ad4c0 commit 75cf2a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ export class GDBDebugSession extends DebugSession {
}

this.serverController.debuggerLaunchStarted();
this.miDebugger.once('debug-ready', () => {
this.debugReady = true;
});
this.miDebugger.connect(this.args.cwd, this.args.executable, commands).then(() => {
this.started = true;
this.serverController.debuggerLaunchCompleted();
Expand Down

0 comments on commit 75cf2a8

Please sign in to comment.