lazydap watch
Also spelled lazydap w.
Add, list or remove watch expressions.
Watches are project state, exactly as breakpoints are: they are remembered in .lazydap/state.toml and outlive the session, the daemon and the machine. What one evaluates to is not remembered — ask for that with lazydap eval, or watch the TUI’s watches pane, which re-evaluates all of them every time the program stops.
lazydap watch [OPTIONS] <COMMAND>lazydap watch add
Section titled “lazydap watch add”Watch an expression at every stop
lazydap watch add [OPTIONS] <EXPRESSION>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<EXPRESSION> |
Handed to the adapter untouched. Quote it if it has spaces |
Options
Section titled “Options”| Flag | Description |
|---|---|
--label <LABEL> |
Show this instead of the expression, when the expression is long |
--dry-run |
Report what would change, and change nothing |
Plus the options every command takes.
lazydap watch list
Section titled “lazydap watch list”Show every watch in the project
lazydap watch list [OPTIONS]lazydap watch remove
Section titled “lazydap watch remove”Stop watching. Name the expression, or select by id
lazydap watch remove [OPTIONS] [EXPRESSION]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
[EXPRESSION] |
The expression, matched whole |
Options
Section titled “Options”| Flag | Description |
|---|---|
--id <ID> |
Select by id. Repeatable, and what --format ids output feeds |
--all |
Remove every watch in the project |
--dry-run |
Report what would change, and change nothing |
Plus the options every command takes.
See also
Section titled “See also”- CLI overview — every command in one list
- JSON output — the shape of what comes back
- Errors and exit codes — what to do when it fails