KEMBAR78
better align setExceptionBreakpoints with the other setXxxException request · Issue #184 · microsoft/debug-adapter-protocol · GitHub
Skip to content

better align setExceptionBreakpoints with the other setXxxException request #184

@weinand

Description

@weinand

There is a desire to treat all breakpoints the same.

Today Exception breakpoints are different because they don't have an ID since there is no way to return the ID from the corresponding SetExceptionBreakpoints request.

One area where this difference between breakpoints hurts a lot, is with error reporting: neither is it possible to return a "failed verification" message from SetExceptionBreakpoints, nor is it possible to send out breakpoint exceptions that contain the error message (because of the lack of an ID).

I propose that we align SetExceptionBreakpoints with the other SetBreakpoints requests and allow to optionally return an array of Breakpoints. These breakpoints can be used to return an ID (so that breakpoint events can be sent), or the error message can be directly returned via the verified and message properties.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions