rawDebugSession: fire simulated continued event for the goto request

This commit is contained in:
isidor
2019-06-13 11:31:17 +02:00
parent e0c9b7b3af
commit 390c0bda7c
@@ -444,7 +444,10 @@ export class RawDebugSession {
goto(args: DebugProtocol.GotoArguments): Promise<DebugProtocol.GotoResponse> {
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'));
}