Skip to content

Synchronize breakpoints between PowerShell and DAP #1795

Open
@andyleejordan

Description

@andyleejordan

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:

// Clear any existing breakpoints before proceeding
await breakpointService.RemoveAllBreakpointsAsync().ConfigureAwait(false);

and in the attach handler:

// 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

No one assigned

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions