DADiSP Worksheet Functions > Function Categories > Debugging > DBSTEPO

 

DBSTEPO

Purpose:

Steps out of the current SPL routine.

Syntax:

DBSTEPO

Returns:

Nothing.

Example:

Assume the following two SPL routines:

 

mycall(x)

{

    local y; 

 

    y = x + x; 

    y = myfunc(y); 

    return(y); 

}

 

myfunc(x)

{

    local y; 

 

    y = x*x; 

    return(y); 

}

 

Now consider the following debugger session:

 

dbstop myfunc

dbcont

 

mycall(10)

dbstepo

 

A breakpoint is set in the routine mycall and the function is executed. The debugger stops at line 5.

 

DBSTEPO steps to the last executable line in myfunc.

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.

See Also:

DBCLEAR

DBCONT

DBDOWN

DBQUIT

DBSTACK

DBSTATUS

DBSTEP

DBSTEPI

DBSTOP

DBUP

LOCALS

VARS