dbclear
Remove breakpoints during debugging.
📝Syntax
dbclear all
dbclear in file
dbclear in file at location
📥Input Arguments
Parameter Description
file File name where breakpoints should be cleared, specified as a character vector or string scalar. A filemarker (>) can be used to specify a local or nested function.
location Line number, line number with anonymous function index (e.g., 3@2), or local function name of the breakpoint to clear.
📄Description

dbclear removes breakpoints set for debugging. You can clear all breakpoints, breakpoints in a specific file, breakpoints at a specific location.

dbclear all removes all breakpoints in all files and for all conditions.

dbclear in file removes all breakpoints in the specified file.

dbclear in file at location removes the breakpoint at the specified location in the file.

💡Examples
Clear all breakpoints in a file.
dbstop in buggy at 2
dbstop in buggy at 3
dbstatus
dbclear in buggy
dbstatus
Clear a breakpoint at a specific location.
dbstop in buggy at 2
dbstop in buggy at 3
dbclear in buggy at 3
dbstatus
🔗See Also
dbstopdbstatusdbquitdbstack
🕔Version History
Version Description
1.16.0 initial version
Edit this page on GitHub