-
Couldn't load subscription status.
- Fork 240
Open
@andyleejordan
Description
We unfortunately clear all existing breakpoints in the PowerShell session on the initialization of the debug server, essentially overwriting them with the breakpoints set in the UI:
PowerShellEditorServices/src/PowerShellEditorServices/Server/PsesDebugServer.cs
Lines 110 to 111 in dd870ec
// Clear any existing breakpoints before proceeding
await breakpointService.RemoveAllBreakpointsAsync().ConfigureAwait(false);
and in the attach handler:
Lines 413 to 414 in 381e7fe
// Clear any existing breakpoints before proceeding
await _breakpointService.RemoveAllBreakpointsAsync().ConfigureAwait(continueOnCapturedContext: false);
Instead, we should find a way to properly synchronize the breakpoints. As they're set in the console, we should update the DAP, and vice versa.
Metadata
Metadata
Assignees
Type
Projects
Status
In Progress