Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
debug: update debugState and threads on 'PauseRequest'
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphon committed Nov 14, 2018
1 parent a1229f1 commit 41e7373
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/debugAdapter/goDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1145,9 +1145,11 @@ class GoDebugSession extends DebugSession {
}
const state = this.delve.isApiV1 ? <DebuggerState>out : (<CommandOut>out).State;
verbose('pause state', state);
this.sendResponse(response);
verbose('PauseResponse');
this.debugState = state;
this.handleReenterDebug('pause');
});
this.sendResponse(response);
verbose('PauseResponse');
}

protected evaluateRequest(response: DebugProtocol.EvaluateResponse, args: DebugProtocol.EvaluateArguments): void {
Expand Down

0 comments on commit 41e7373

Please sign in to comment.