提交 6561cfae 编写于 作者: I isidor

debug: wait for sendBreakpoint response before sending...

debug: wait for sendBreakpoint response before sending sendExceptionBreakpoints for backwards compatibility with adapters
上级 0e17d138
......@@ -222,7 +222,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
private registerSessionListeners(): void {
this.toDispose.push(this.session.addListener2(debug.SessionEvents.INITIALIZED, (event: DebugProtocol.InitializedEvent) => {
Promise.join([this.sendAllBreakpoints(), this.sendExceptionBreakpoints()]).then(() =>
this.sendAllBreakpoints().then(() => this.sendExceptionBreakpoints()).then(() =>
this.session.configurationDone()).done(null, errors.onUnexpectedError);
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册