debug.setstack
Sets a value in the stack at the specified index.
Parameters
level
- The call stack.index
- The position of the values inside the stack frame.value
- The new value to set at the specified position.
Examples
Last updated