DADiSP Worksheet Functions > Function Categories > Debugging > DBCLEAR
Clears a debugger breakpoint
DBCLEAR function
DBCLEAR lineno
DBCLEAR("function")
DBCLEAR(lineno)
"function" |
- |
A string. The name of the SPL function. |
lineno |
- |
Optional. An integer. The line number. |
Nothing.
dbstop myfunc
dbcont
myfunc(10)
dbclear myfunc
dbcont
sets a breakpoint in the SPL routine named myfunc and starts debugging. The myfunc routine is then called and the debugger stops at the first executable line.
dbclear then clears the breakpoint.
Use DBCONT to start the debugging process. Use DBSTEP or DBCONT to resume execution after a breakpoint has been reached. Use DBSTATUS for information on the current breakpoint. Use DBQUIT to exit debugging.
Any DADiSP command or function can be executed once a breakpoint has been reached.
Both the command form,
dbclear function
and functional form
dbclear("function")
are supported.