Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

stepout

stepout( 
[ x_steps ] 
)

Description

Allows execution to proceed until the evaluator returns from the current function.

It reenters the break handler when the current function returns to its caller.

Arguments

x_steps

Number of function call levels to return from before reentering the break handler. Defaults to 1.

Value Returned

None

Examples

Suppose /tmp/color.il defines function initColor:

(defun initColor (object)
(let ((colorList '(red green yellow)) color)
(setq color (concat (get object 'color)))
(if (memq color colorList)
(printf "color %s initialized" (get object 'name)))
)
)

Try this file in debugger:

installDebugger
=> t
1> (sstatus sourceTracing t)    ; Turns on sourceTracing to get line numbers
=> t
1>  load "/tmp/color.il"
=> t
1> (putprop 'object1 "green" 'color)
=> "green"
=> initColor
1> (putprop 'object1 "green" 'color)
=> "green"
1> breakpt(initColor (entry (null object)) get)
=> (get initColor)
1> (initColor 'object1)
<<< Break >>> on calling get with args (object1 color)
at line 3 in file /tmp/color.il
Debug 2> stepout
<<< Break >>> on calling get with args (object1 name)
at line 5 in file /tmp/color.il
; stop at next 'get'

Related Topics

Debug Functions

breakpt

cont, continue


Return to top
 ⠀
X