Skip to content

dbstop

miscellaneous · scripts/miscellaneous/dbstop.m

: dbstop (fcn)
: dbstop (fcn, line)
: rline = dbstop (…)

Set a breakpoint (delegates to the interpreter builtin).

Works in headless / --eval sessions: breakpoints are recorded and fire when the target function runs. Command-form keyword phrases (dbstop if error, dbstop in fcn at line) are handled by the builtin parser when passed as string arguments.