Regular API function


Description Prints the content of the specified stack to the console. See also the other stack functions.
C synopsis simInt simDebugStack(simInt stackHandle,simInt cIndex)
C parameters
stackHandle: a stack handle obtained with simCreateStack.
cIndex: the zero-based index of the stack location to print, or -1 to print the full stack.
C return value
-1 in case of an error.
Lua synopsis
Lua parameters
Lua return values