ZIm/crates/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
..
components debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
styles Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
traits Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
utils Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
component_prelude.rs component: Component crate cleanup (#29967) 2025-05-06 03:41:52 +00:00
components.rs agent: Add UI for upsell scenarios (#29805) 2025-05-05 00:48:06 +00:00
prelude.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
styles.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
traits.rs component: Add component and component_preview crates to power UI components (#24456) 2025-02-09 13:25:03 -05:00
ui.rs ui_macros: Remove DerivePathStr macro (#30862) 2025-05-17 10:05:55 +00:00
utils.rs welcome: Theme preview tile (#29689) 2025-04-30 17:46:11 +00:00