Merge from vscode 70dc55955d586ebd427658b43cdb344f2047f9c2 (#6789)

This commit is contained in:
Anthony Dresser
2019-08-16 21:47:46 -07:00
committed by GitHub
parent fb26126bcb
commit 41d8663b09
79 changed files with 1815 additions and 572 deletions

View File

@@ -23,7 +23,7 @@ suite('Debug - Model', () => {
let rawSession: MockRawSession;
setup(() => {
model = new DebugModel([], true, [], [], [], <any>{ isDirty: (e: any) => false });
model = new DebugModel([], true, [], [], [], [], <any>{ isDirty: (e: any) => false });
rawSession = new MockRawSession();
});

View File

@@ -7,7 +7,7 @@ import { URI as uri } from 'vs/base/common/uri';
import { Event } from 'vs/base/common/event';
import { IWorkspaceFolder } from 'vs/platform/workspace/common/workspace';
import { Position } from 'vs/editor/common/core/position';
import { ILaunch, IDebugService, State, IDebugSession, IConfigurationManager, IStackFrame, IBreakpointData, IBreakpointUpdateData, IConfig, IDebugModel, IViewModel, IBreakpoint, LoadedSourceEvent, IThread, IRawModelUpdate, IFunctionBreakpoint, IExceptionBreakpoint, IDebugger, IExceptionInfo, AdapterEndEvent, IReplElement, IExpression, IReplElementSource } from 'vs/workbench/contrib/debug/common/debug';
import { ILaunch, IDebugService, State, IDebugSession, IConfigurationManager, IStackFrame, IBreakpointData, IBreakpointUpdateData, IConfig, IDebugModel, IViewModel, IBreakpoint, LoadedSourceEvent, IThread, IRawModelUpdate, IFunctionBreakpoint, IExceptionBreakpoint, IDebugger, IExceptionInfo, AdapterEndEvent, IReplElement, IExpression, IReplElementSource, IDataBreakpoint } from 'vs/workbench/contrib/debug/common/debug';
import { Source } from 'vs/workbench/contrib/debug/common/debugSource';
import { CompletionItem } from 'vs/editor/common/modes';
import Severity from 'vs/base/common/severity';
@@ -79,6 +79,13 @@ export class MockDebugService implements IDebugService {
throw new Error('not implemented');
}
addDataBreakpoint(label: string, dataId: string, canPersist: boolean): Promise<void> {
throw new Error('Method not implemented.');
}
removeDataBreakpoints(id?: string | undefined): Promise<void> {
throw new Error('Method not implemented.');
}
public addReplExpression(name: string): Promise<void> {
throw new Error('not implemented');
}
@@ -125,6 +132,13 @@ export class MockDebugService implements IDebugService {
}
export class MockSession implements IDebugSession {
dataBreakpointInfo(name: string, variablesReference?: number | undefined): Promise<{ dataId: string | null; description: string; canPersist?: boolean | undefined; }> {
throw new Error('Method not implemented.');
}
sendDataBreakpoints(dbps: IDataBreakpoint[]): Promise<void> {
throw new Error('Method not implemented.');
}
subId: string | undefined;