Skip to content

DebugSession setBreakPointsRequest Regression #96579

Description

@GordonSmith
  • VSCode Version: 1.44.2
  • OS Version: Windows 10 (2004)

Steps to Reproduce:

  1. Implement a DebugSession with a setBreakPointsRequest method
  2. Add some breakpoints to your code before submitting
  3. In DebugSession.setBreakPointsRequest return the "response" without adding a "breakpoints" array.

Does this issue occur when all extensions are disabled?: NA

My debug sessions are hanging (not proceeding to the "ConfigurationDoneRequest") with the following code:

    protected setBreakPointsRequest(response: DebugProtocol.SetBreakpointsResponse, args: DebugProtocol.SetBreakpointsArguments): void {
        this.sendResponse(response);
    }

But proceed as expected with the following:

    protected setBreakPointsRequest(response: DebugProtocol.SetBreakpointsResponse, args: DebugProtocol.SetBreakpointsArguments): void {
        response.body = {
            breakpoints: []
        };
        this.sendResponse(response);
    }

The above code is quite old, so suspect this is a regression in VS Code

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions