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

inNext

inNext( 
) 
=> t / nil

Description

Returns t if the function is called in the expression that is executed in the debugged code on the next() SKILL function.

Arguments

None

Value Returned

t

The current debugged expression is executed on next().

nil

The current debugged expression is not executed on next().

Examples

installDebugger()
Loading skillDev.cxt
t
1> defun( callInNext () printf("inNext() => %N\n" inNext())
)
callInNext
1> defun( test (x)
 x = list(x x)
 callInNext()
 x = list(x x)
)
test
1> breakpt test
(test)
1> test(4)
<<< Break >>> on entering test
Entering new debug toplevel due to breakpoint:
Type (help "debug") for a list of commands or debugQuit to exit the toplevel.
Debug 2> next
stopped before evaluating (x = list(x x))
Debug 2> next
stopped before evaluating callInNext()
Debug 2> next
inNext() => t
stopped before evaluating (x = list(x x))
Debug 2> callInNext()
inNext() => nil
t
Debug 2> cont
((4 4)
    (4 4)
)

Related Topics

Debug Functions


Return to top
 ⠀
X