This dialog is invoked by calling debug.debug () from within a Lua script.
Lua - a regular Lua function
main - inside the main Lua chunk (that is, not inside a function)
C - a C function
If it can be determined, the name of the current function, followed by what the name is in brackets. (eg. "myfunction (local)" ).
The function address.
Number of upvalues
How many upvalues this function has.
Clicking this runs a small script to display the upvalues of the current function, if any, in the output window. The script looks like this:
Clicking this runs a small script to display the local variables of the current function, if any, in the output window. The script looks like this:
Clicking this runs a small script do display the traceback information, namely:
You can type Lua commands into this window and press <Enter> (or click on Do Command). The command you entered is sent to the Lua interpreter to be executed in the context of the current script. For example, you could print or change global variables. The current command is remembered from one debug session to the next.
Click this to edit the current contents of the command window in a larger dialog box. This larger box has access to function help, and function-name completion.
Sends the contents of the "command" box to the Lua interpreter.
Lets the script that called debug.debug () continue executing. Pressing <Esc> to dismiss the dialog has the same effect.
Aborts the calling script with the error "Script aborted".
See Also ...
(Help topic: dialog=IDD_LUA_DEBUG)
Enter a search string to find matching documentation.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )