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 Jan 12, 2019
1 parent e56e19c commit c15ed9d
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 @@ -1165,9 +1165,11 @@ class GoDebugSession extends LoggingDebugSession {
}
const state = this.delve.isApiV1 ? <DebuggerState>out : (<CommandOut>out).State;
log('pause state', state);
this.sendResponse(response);
log('PauseResponse');
this.debugState = state;
this.handleReenterDebug('pause');
});
this.sendResponse(response);
log('PauseResponse');
}

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

0 comments on commit c15ed9d

Please sign in to comment.