Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)

This commit is contained in:
Anthony Dresser
2019-08-12 21:31:51 -07:00
committed by GitHub
parent 00250839fc
commit 7eba8c4c03
616 changed files with 9472 additions and 7087 deletions

View File

@@ -37,19 +37,19 @@ interface ILaunchVSCodeArguments {
*/
export class RawDebugSession {
private allThreadsContinued: boolean;
private _readyForBreakpoints: boolean;
private allThreadsContinued = true;
private _readyForBreakpoints = false;
private _capabilities: DebugProtocol.Capabilities;
// shutdown
private debugAdapterStopped: boolean;
private inShutdown: boolean;
private terminated: boolean;
private firedAdapterExitEvent: boolean;
private debugAdapterStopped = false;
private inShutdown = false;
private terminated = false;
private firedAdapterExitEvent = false;
// telemetry
private startTime: number;
private didReceiveStoppedEvent: boolean;
private startTime = 0;
private didReceiveStoppedEvent = false;
// DAP events
private readonly _onDidInitialize: Emitter<DebugProtocol.InitializedEvent>;
@@ -78,13 +78,6 @@ export class RawDebugSession {
) {
this.debugAdapter = debugAdapter;
this._capabilities = Object.create(null);
this._readyForBreakpoints = false;
this.inShutdown = false;
this.debugAdapterStopped = false;
this.firedAdapterExitEvent = false;
this.didReceiveStoppedEvent = false;
this.allThreadsContinued = true;
this._onDidInitialize = new Emitter<DebugProtocol.InitializedEvent>();
this._onDidStop = new Emitter<DebugProtocol.StoppedEvent>();