This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Description When the debugger pauses, we should expand the right sidebar if it is collapsed. There are a couple reasons why this is important:
the step buttons are there
all the pause data is there
diff --git a/src/actions/pause/paused.js b/src/actions/pause/paused.js
index b43f722..69e931c 100644
--- a/src/actions/pause/paused.js
+++ b/src/actions/pause/paused.js
@@ -7,6 +7,7 @@ import {
import { updateFrameLocations } from "../../utils/pause";
import { removeBreakpoint } from "../breakpoints";
import { evaluateExpressions } from "../expressions";
+ import { togglePane } from "../ui";
import { selectSource } from "../sources";
import { mapScopes } from "./mapScopes";
@@ -50,6 +51,8 @@ export function paused(pauseInfo: Pause) {
selectSource(frame.location.sourceId, { line: frame.location.line })
);
+ dispatch(togglePane({ position: "end" }));
+
dispatch(mapScopes());
};
}Reactions are currently unavailable
When the debugger pauses, we should expand the right sidebar if it is collapsed. There are a couple reasons why this is important: