Returns information about the local variables at a given stack depth


See also Utility functions.

Signature:

localsInfo = debuglocals(stackLevel)

Arguments:

  • stackLevel - The stack level to query (number)

Returns:

  • localsInfo - A string detailing the local variables at the given stack depth. (string)