From 390c0bda7ca8989568493c2df9b71612dea6aae3 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 13 Jun 2019 11:31:17 +0200 Subject: [PATCH] rawDebugSession: fire simulated continued event for the goto request --- .../contrib/debug/electron-browser/rawDebugSession.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/electron-browser/rawDebugSession.ts b/src/vs/workbench/contrib/debug/electron-browser/rawDebugSession.ts index 1609ee2e67b..fc272dd2d6f 100644 --- a/src/vs/workbench/contrib/debug/electron-browser/rawDebugSession.ts +++ b/src/vs/workbench/contrib/debug/electron-browser/rawDebugSession.ts @@ -444,7 +444,10 @@ export class RawDebugSession { goto(args: DebugProtocol.GotoArguments): Promise { if (this.capabilities.supportsGotoTargetsRequest) { - return this.send('goto', args); + return this.send('goto', args).then(res => { + this.fireSimulatedContinuedEvent(args.threadId); + return res; + }); } return Promise.reject(new Error('goto is not supported')); }