提交 ec4af92c 编写于 作者: I isidor

debug: send configurationDone once all breakpoints are sent

fixes #1828
上级 7b7840aa
......@@ -224,6 +224,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
this.toDispose.push(this.session.addListener2(debug.SessionEvents.INITIALIZED, (event: DebugProtocol.InitializedEvent) => {
this.sendAllBreakpoints().done(null, errors.onUnexpectedError);
this.sendExceptionBreakpoints().done(null, errors.onUnexpectedError);
this.session.configurationDone().done(null, errors.onUnexpectedError);
}));
this.toDispose.push(this.session.addListener2(debug.SessionEvents.STOPPED, (event: DebugProtocol.StoppedEvent) => {
......
......@@ -136,6 +136,10 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes
return this.send('setExceptionBreakpoints', args);
}
public configurationDone(): TPromise<DebugProtocol.ConfigurationDoneResponse> {
return this.send('configurationDone', null);
}
public stackTrace(args: DebugProtocol.StackTraceArguments): TPromise<DebugProtocol.StackTraceResponse> {
return this.send('stackTrace', args);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册