From 4f5dc8f0755c9cfc593db198e165a79c7f576ec5 Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Thu, 7 Jul 2016 12:05:07 +0200 Subject: [PATCH] debug protocol: added 'mimeType' attribute to SourceResponse --- .../workbench/parts/debug/common/debugProtocol.d.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/vs/workbench/parts/debug/common/debugProtocol.d.ts b/src/vs/workbench/parts/debug/common/debugProtocol.d.ts index c6cc0f5e3a0..0fd0037dd15 100644 --- a/src/vs/workbench/parts/debug/common/debugProtocol.d.ts +++ b/src/vs/workbench/parts/debug/common/debugProtocol.d.ts @@ -326,7 +326,7 @@ declare module DebugProtocol { /** Next request; value of command field is "next". The request starts the debuggee to run again for one step. - The debug adapter will respond with a StoppedEvent (event type 'step') after running the step. + The debug adapter first sends the NextResponse and then a StoppedEvent (event type 'step') after the step has completed. */ export interface NextRequest extends Request { arguments: NextArguments; @@ -342,7 +342,7 @@ declare module DebugProtocol { /** StepIn request; value of command field is "stepIn". The request starts the debuggee to run again for one step. - The debug adapter will respond with a StoppedEvent (event type 'step') after running the step. + The debug adapter first sends the StepInResponse and then a StoppedEvent (event type 'step') after the step has completed. */ export interface StepInRequest extends Request { arguments: StepInArguments; @@ -358,7 +358,7 @@ declare module DebugProtocol { /** StepOut request; value of command field is "stepOut". The request starts the debuggee to run again for one step. - The debug adapter will respond with a StoppedEvent (event type 'step') after running the step. + The debug adapter first sends the StepOutResponse and then a StoppedEvent (event type 'step') after the step has completed. */ export interface StepOutRequest extends Request { arguments: StepOutArguments; @@ -374,7 +374,7 @@ declare module DebugProtocol { /** StepBack request; value of command field is "stepBack". The request starts the debuggee to run one step backwards. - The debug adapter will respond with a StoppedEvent (event type 'step') after running the step. + The debug adapter first sends the StepBackResponse and then a StoppedEvent (event type 'step') after the step has completed. */ export interface StepBackRequest extends Request { arguments: StepBackArguments; @@ -390,7 +390,7 @@ declare module DebugProtocol { /** Pause request; value of command field is "pause". The request suspenses the debuggee. - penDebug will respond with a StoppedEvent (event type 'pause') after a successful 'pause' command. + The debug adapter first sends the PauseResponse and then a StoppedEvent (event type 'pause') after the thread has been paused successfully. */ export interface PauseRequest extends Request { arguments: PauseArguments; @@ -507,6 +507,8 @@ declare module DebugProtocol { body: { /** Content of the source reference */ content: string; + /** Optional content type (mime type) of the source. */ + mimeType?: string; }; } -- GitLab