Closed
Description
Problem:
If two (or more) concurrent debug sessions return differing verification status for a (shared) breakpoint, then the outcome in the UI is not clear, e.g. we show the verification error for the breakpoint but he breakpoint actually verified fine in one of the sessions. This should not affect the ability to hit a verified breakpoint and miss an unverified breakpoint.
3 Possible solutions:
- The UI shows multiple breakpoint stati with a new UI: if a BP has different stati, we do not show the red dot but something else (and a hover could show the individual stati per debug session).
- Since VS Code has the concept of an active debug session, the UI could multiplex the different breakpoint stati: the UI reflects only the status of the active debug session.
- we use voting, e.g. we show the breakpoint verified if it got verified in at least one session.
Today VS Code uses approach 3 but we should strive for solution 2.
In addition we should clarify/improve the DAP in order to support a "don't care" verification status.