Skip to content

SetExceptionBreakpoints contradiction #611

@nd-work

Description

@nd-work

Consider the case when a DAP debugger doesn't report any capabilities.

The Initialized Event states:

client sends a setExceptionBreakpoints request if one or more exceptionBreakpointFilters have been defined (or if supportsConfigurationDoneRequest is not true)

Since adapter didn't report any Capabilities, the supportsConfigurationDoneRequest is false, and the client must send the setExceptionBreakpoints request.

The SetExceptionBreakpoints Request states:

Clients should only call this request if the corresponding capability exceptionBreakpointFilters returns one or more filters.

Since adapter didn't report any Capabilities, the exceptionBreakpointFilters is empty, and the client must not call the method.

Could you please clarify the conditions when the setExceptionBreakpoints must be sent?
To me it looks strange that clients must send it if the supportsConfigurationDoneRequest is false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions