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
Value Returned
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
Return to top