Also trigger update on "stepIn" and "stepOut".

This commit is contained in:
Henning Dieterichs
2020-02-12 19:04:14 +01:00
parent 445b266f7b
commit 6f9fdd014a

View File

@@ -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"