mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
make addBreakpoint/removeBreakpoint sync
This commit is contained in:
@@ -443,7 +443,7 @@ export interface MainThreadDebugServiceShape extends IDisposable {
|
||||
$customDebugAdapterRequest(id: DebugSessionUUID, command: string, args: any): TPromise<any>;
|
||||
$appendDebugConsole(value: string): TPromise<any>;
|
||||
$startBreakpointEvents(): TPromise<any>;
|
||||
$registerBreakpoints(breakpoints: (ISourceMultiBreakpointDto | IFunctionBreakpointDto)[]): TPromise<IBreakpointIndexDto[]>;
|
||||
$registerBreakpoints(breakpoints: (ISourceMultiBreakpointDto | IFunctionBreakpointDto)[]): TPromise<void>;
|
||||
$unregisterBreakpoints(breakpointIds: string[], functionBreakpointIds: string[]): TPromise<void>;
|
||||
}
|
||||
|
||||
@@ -701,7 +701,6 @@ export interface ExtHostTaskShape {
|
||||
|
||||
export interface IFunctionBreakpointDto {
|
||||
type: 'function';
|
||||
index: number;
|
||||
id?: string;
|
||||
enabled: boolean;
|
||||
condition?: string;
|
||||
@@ -730,7 +729,7 @@ export interface ISourceMultiBreakpointDto {
|
||||
type: 'sourceMulti';
|
||||
uri: UriComponents;
|
||||
lines: {
|
||||
index: number;
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
condition?: string;
|
||||
hitCondition?: string;
|
||||
@@ -739,11 +738,6 @@ export interface ISourceMultiBreakpointDto {
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface IBreakpointIndexDto {
|
||||
index: number;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface ExtHostDebugServiceShape {
|
||||
$resolveDebugConfiguration(handle: number, folder: UriComponents | undefined, debugConfiguration: IConfig): TPromise<IConfig>;
|
||||
$provideDebugConfigurations(handle: number, folder: UriComponents | undefined): TPromise<IConfig[]>;
|
||||
|
||||
Reference in New Issue
Block a user