debug: send configurationDone once all breakpoints are sent
fixes #1828
This commit is contained in:
parent
7b7840aa1a
commit
ec4af92c8b
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue