Regular API function

simDebugStack

Description Prints the content of the specified stack to the console. See also the other stack functions.
C/C++
synopsis
simInt simDebugStack(simInt stackHandle,simInt cIndex)
C/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/C++
return value
-1 in case of an error.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis