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.
Consider the case when a DAP debugger doesn't report any capabilities.
The Initialized Event states:
Since adapter didn't report any Capabilities, the
supportsConfigurationDoneRequestis false, and the client must send thesetExceptionBreakpointsrequest.The SetExceptionBreakpoints Request states:
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
setExceptionBreakpointsmust be sent?To me it looks strange that clients must send it if the
supportsConfigurationDoneRequestis false.