Search results
Results From The WOW.Com Content Network
This help-page, Help:Lua debugging, explains issues of writing Lua script and debugging the source code, to remove errors or improve performance. Because Lua is a "semi-compiled" interpreted language, it does not prescreen for all common syntax errors, nor detect misspelled variables, which are only found at runtime when seeing the " Script ...
The Lua language has allowed misspelled, or uninitialized, variables to be used in a script which can eventually cause "script error" while giving no other indication of the misspelled name or invalid data.
Help:Lua for beginners; Help:Lua debugging – about debugging Lua modules; Wikipedia:Lua style guide – standards to improve the readability of code through consistency; Module:Sandbox provides a pseudo-namespace for experimenting with Lua modules
Wikipedia:Lua style guide – standards to improve the readability of code through consistency "What do converted templates look like?" (slideshow) Help:Lua debugging – a how-to guide about debugging Lua modules; Help:Lua for beginners – basic tutorial and pointers; Wikipedia:Lua string functions – string performance considerations and limits
ZeroBrane Studio provides local, remote and cross-platform debugging for applications executing Lua code. The debugger supports the following functions: step through the code, set/remove breakpoints, inspect variables and expressions using the Watch window, inspect the call stack with local values and upvalues (local values defined in the outer ...
Special:PrefixIndex/Module: – tracking of Lua modules can be done by using Special:PrefixIndex; Help:Lua debugging – a how-to guide about debugging Lua modules; Module:Sandbox provides a pseudo-namespace for experimenting with Lua modules; Manual:Coding conventions/Lua – standards to improve the readability of code through consistency
The script at Module:LuaCall has been written to accept any set of named parameters somename=value, for each one storing the string value in the variable with the name somename, and then allowing you to use these variables as parameters for any function available in Lua.
Tactics for unit-tests: Now, back to unit testing, there is a tactic of self-testing in units, such as a debug-mode switch to run extra testing inside a unit, along with typical "parameter validation" which catches and reports improper data sent into the unit.