simDebugStack

Prints the content of the specified stack to the console

C++ synopsis

int simDebugStack(int stackHandle, int cIndex)

Arguments

  • 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.

Return

  • -1 in case of an error.


See also: