-
Notifications
You must be signed in to change notification settings - Fork 153
Description
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.