Support extra metadata for Breakpoints #187854
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
Milestone
We're implementing a debugger extension, and would love to see more flexibility in defining breakpoints / breakpoint types.
I'll start with something with no UI impact, and limited impact in general:
It would be helpful to be able to add (opaque) metadata to the breakpoint. Something that the extension can add 'at some point', and gets passed to the debug adapter. (In the existing debug listener? or maybe a new "onWill" listener? or other ideas?)
Right now, the only options I see for a workaround for 'extra bp data' are to
(a) 'overload' one of the existing breakpoint type fields (like using source bp 'condition' to include this data), or
(b) storing it separately, and keeping it 'in sync' via a breakpoint listener, and some debug adapter custom requests.
Our overall requirements are somewhat similar to issues/152428
But just this extra data feature would simplify the workarounds we are implementing without the ability to create custom breakpoint types and UI (we're doing workaround (b) above right now).
The text was updated successfully, but these errors were encountered: