From 6f9fdd014a9e21d3fe8bf4431ff8a92d3a33d373 Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Wed, 12 Feb 2020 19:04:14 +0100 Subject: [PATCH] Also trigger update on "stepIn" and "stepOut". --- extension/src/VsCodeDebugger.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/extension/src/VsCodeDebugger.ts b/extension/src/VsCodeDebugger.ts index 95dec6a..cf5a08a 100644 --- a/extension/src/VsCodeDebugger.ts +++ b/extension/src/VsCodeDebugger.ts @@ -38,17 +38,15 @@ export class VsCodeDebugger { type Message = | StoppedEvent | ThreadsResponse - | ContinueResponse - | NextResponse; + | ContinueLikeResponse; - interface ContinueResponse { + interface ContinueLikeResponse { type: "response"; - command: "continue"; - } - - interface NextResponse { - type: "response"; - command: "next"; + command: + | "continue" + | "stepIn" + | "stepOut" + | "next"; } interface StoppedEvent { @@ -91,7 +89,9 @@ export class VsCodeDebugger { } else if (m.type === "response") { if ( m.command === "continue" || - m.command === "next" + m.command === "next" || + m.command === "stepIn" || + m.command === "stepOut" ) { extendedSession[ "activeStackFrame"