ZIm/crates/debugger_ui/src
Remco Smits ad76db7244
debugger: Add variable watchers (#32743)
### This PR introduces support for adding watchers to specific
expressions (such as variable names or evaluated expressions).

This feature is useful in scenarios where many variables are in scope,
but only a few are of interest—especially when tracking variables that
change frequently. By allowing users to add watchers, it becomes easier
to monitor the values of selected expressions across stack frames
without having to sift through a large list of variables.


https://github.com/user-attachments/assets/c49b470a-d912-4182-8419-7406ba4c8f1e

------

**TODO**:
- [x] make render variable code reusable for render watch method
- [x] use SharedString for watches because of a lot of cloning
- [x] add tests
  - [x] basic test
  - [x] test step debugging

Release Notes:

- Debugger Beta: Add support for variable watchers

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Anthony <anthony@zed.dev>
2025-06-20 20:45:55 +00:00
..
session debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
tests debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
attach_modal.rs editor: Improve code completion filtering to provide fewer and more accurate suggestions (#32928) 2025-06-18 16:01:28 +05:30
debugger_panel.rs debugger: Move breakpoint management to the pane strip (#33062) 2025-06-19 22:29:15 +02:00
debugger_ui.rs debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
dropdown_menus.rs debugger: Show child sessions as indented and ensure they're next to the parent session (#32939) 2025-06-18 12:50:39 +02:00
new_process_modal.rs debugger: Refine session modal design (#33004) 2025-06-19 02:27:34 -03:00
onboarding_modal.rs debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
persistence.rs debugger: Move breakpoint management to the pane strip (#33062) 2025-06-19 22:29:15 +02:00
session.rs debugger: Show child sessions as indented and ensure they're next to the parent session (#32939) 2025-06-18 12:50:39 +02:00
stack_trace_view.rs debugger: Add support for label presentation hints for stack frames (#32719) 2025-06-13 21:37:03 +00:00
tests.rs Simplify debug launcher UI (#31928) 2025-06-02 21:24:08 +00:00