The Watch List Window
Topic Groups



The "Watch List" window is a debug tool useful to visualize the content of globals and locals in runtime. The window automatically refreshes its content as you progress through the script while debugging.

When the variable beeing watched is a table, it will parse its content recursively to display all elements with their value. If the value is another table (sub-tables), it will also parse its content and so on. For performances reasons, there is a maximum level of sub-tables you can adjust through the "Debug Tab" of LuaEdit's settings. Also, since Lua allows cyclic referencing (EG: "a = {}; a._self = a;"), another setting is available for cyclic referencing check. (extremmely recommended since this could lead to infinite loop when debugging) If the variable beeing watched is anything else but a table, LuaEdit will try to display its best definition. That is, for functions, userdata and lightuserdata it will display its pointer address, for strings and numbers it will display its content, etc.

A watch variable item can be change the same way you rename a file in windows explorer and more than one item can be watched at once.


The Watch List Window



www.luaedit.net
© Copyright 2004-2007 Jean-Francois Goulet
LuaEdit 3.0.4 for Lua 5.1