[Breakpoints] Support jumping to a function call
Last summer, we added a fancy feature for column breakpoints. The feature never shipped because the UX was too ambitious.
It would be nice to re-purpose the UI we built for a simpler feature "jump to call".
Here is a gist with a technical overview: https://gist.github.com/808bb1a1019594a22ff4b40c7dd8dd0f
Here is a video of how it could look: jump.mp4
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
I started this on the plane https://github.com/devtools-html/debugger.html/commit/56f8c0680d7680ee4e765a82eac2551912d30453
My version works, but is clearly a proof of concept in that it does some things that are not great
Strategy:
- re-use preview/onMouseOver to register hovering on tokens
- tell Popup that we want to jump so it does a different style
- re-use preview/onMouseDown to call jumpToCall
- in jumpToCall look to see where we're currently previewing (remember preview also kicked off a preview we dont show)
- use that to jump...
I think the better strategy is to:
- add a generic codemirror:onTokenEnter event so that we can decouple previewing and jumping
- cleanup preview code and add a new jumping component
Not on our roadmap.
Firefox Developer Tools (including Debugger tool) development is now entirely happening in Bugzilla and new issues should be reported here: https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&component=Debugger