DADiSP Worksheet Functions > Function Categories > Debugging > DBCLEAR

 

DBCLEAR

Purpose:

Clears a debugger breakpoint

Syntax:

DBCLEAR function

DBCLEAR lineno

 

DBCLEAR("function")

DBCLEAR(lineno)

"function"

-

A string. The name of the SPL function.

lineno

-

Optional. An integer. The line number.

Returns:

Nothing.

Example:

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.

Remarks:

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.

See Also:

DBCONT

DBDOWN

DBQUIT

DBSTACK

DBSTATUS

DBSTEP

DBSTEPI

DBSTEPO

DBUP

LOCALS

VARS