Skip to content

Commit

Permalink
Merge pull request #67 from xiaoyongdong/fix_bug#62
Browse files Browse the repository at this point in the history
Fixed bug #62.
  • Loading branch information
Marus authored Jun 15, 2018
2 parents 21ad4c0 + 75cf2a8 commit 083fbd7
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 083fbd7

Please sign in to comment.