Skip to content
Pre-release. v0.1.0 is not tagged and there are no published binaries yet. Install from source. Commands on this site were run against the current main.

lazydap break

Also spelled lazydap b.

Set, list, remove or toggle breakpoints.

Breakpoints are project state: they are remembered in .lazydap/state.toml and applied to every session you launch, whether or not one is running when you set them.

lazydap break [OPTIONS] [FILE:LINE]
Argument Description
[FILE:LINE] Where to break, as file:line
Flag Description
--list List every breakpoint in the project
--remove Remove the selected breakpoints
--toggle Enable or disable the selected breakpoints
--id <ID> Select by id. Repeatable, and what --format ids output feeds
--all Select every breakpoint in the project
--condition <CONDITION> Only break when this expression is true
--hit-condition <HIT_CONDITION> Only break once the hit count matches, e.g. >= 10
--log <MESSAGE> Log this message instead of pausing. Braces interpolate: --log "x = {x}"
--disabled Record it, but leave it switched off
--dry-run Report what would change, and change nothing

Plus the options every command takes.