WoW Lua Browser addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon Lua Browser

Lua Browser

Game Version: 9.0.1
Total Downloads: 4,978
Updated: Oct 31, 2020
Created: Feb 27, 2010
download Lua BrowserDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
20.10.31 release 14.95 KB Oct 31, 2020 9.0.1 7 download Lua Browser 20.10.31 releaseDownload
18.08.12 release 12.47 KB Aug 12, 2018 8.0.1 1,388 download Lua Browser 18.08.12 releaseDownload
18.07.25 release 10.81 KB Jul 25, 2018 8.0.1 143 download Lua Browser 18.07.25 releaseDownload
10.11.10 release 9.99 KB Nov 10, 2010 4.0.1 2,447 download Lua Browser 10.11.10 releaseDownload
10.06.28 release 9.48 KB Jun 28, 2010 3.3.5 491 download Lua Browser 10.06.28 releaseDownload
10.06.27 release 9.39 KB Jun 27, 2010 3.3.5 125 download Lua Browser 10.06.27 releaseDownload
10.02.27 release 9.36 KB Feb 27, 2010 3.3.0 377 download Lua Browser 10.02.27 releaseDownload

Screenshots

Description

Share this:

Description


Using Lua Browser allows you to easily browse through the Lua environment, tables, widgets and other values.
This can be quite useful when developing addons.

The currently browsed root will have a reference in the global variable "lbRoot", this makes it easier to manipulate it using /run scripts and the likes.

Please note this is an advanced tool, do not use this unless you know what you are doing.

Controls


The Left click action depends on which item is under the mouse.
Tables and Widgets will be opened like a folder in normal file browsing. Hold down shift to try and open any possible metatables this table might have.
For functions, the function will be called, if you hold down shift, it will be called with "self" as the first parameter.

Right clicking will go back in history, to the previous browsed table.
If you hold down shift while right clicking, the key will be deleted!

You can link things into the chat editbox like normally. Open up the chat editbox, hold down shift and click an item.

Slash Commands


The slash command for Lua Browser is "/lb". Below are the valid parameters.

/lb filter <word>
You can use this to filter out what is shown, very useful in _G.

/lb code <code>
Executes the code and browses the result. If the result is not a table, you should add curly brackets like this: "{ <code> }".

/lb codemeta <code>
Works exactly like the "/lb code" slash command, but will browse the metatable of the code.

/lb mouse
Sometimes frames are unnamed, and the easiest way to get to them is through GetMouseFocus().

/lb mousemeta
Allows you to browse the meta table of the widget under the mouse.

Comments

Add a comment