Skip to content

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>

Watch an expression at every stop

lazydap watch add [OPTIONS] <EXPRESSION>
Argument Description
<EXPRESSION> Handed to the adapter untouched. Quote it if it has spaces
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.

Show every watch in the project

lazydap watch list [OPTIONS]

Stop watching. Name the expression, or select by id

lazydap watch remove [OPTIONS] [EXPRESSION]
Argument Description
[EXPRESSION] The expression, matched whole
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.