ZIm/assets
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
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons agent: Improve the UX around interacting with MCP servers (#32622) 2025-06-18 22:52:40 +00:00
images debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
keymaps debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
prompts Include full abs paths of worktrees in system prompt (#32725) 2025-06-15 15:45:26 +02:00
settings editor: Scale minimap width to editor width (#32317) 2025-06-19 14:24:06 +03:00
sounds agent: Add sound notification when done generating (#31472) 2025-05-26 21:20:41 -03:00
themes Refine styling of merge conflicts (#31012) 2025-06-09 19:03:19 +00:00