Category: Developer Utilities
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
09.05.18
Date:
05-18-2009 02:24 PM
Size:
9.35 Kb
Downloads:
719
Favorites:
44
MD5:
Pictures
Click to enlarge
Main window of Lua Browser looking at a test frame
Lua Browser
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 code <code>"
Executes the code and browses the result.

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

"/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.
  Change Log - Lua Browser
Lua Browser Changes | 2009 May 18
- Changed the TOC version to 30100 for the 3.1 patch.
- If you move the mouse over the window showing the address of the current root, it will show a tip with how many of each data type is in this table.
- Filter settings are now saved per root, instead of a global setting, this should make browsing back and forth from _G a lot more pleasent.
- Did a few code optimisations.

Lua Browser Changes | 2009 Apr 07
- Fixed a bug that caused not all keys in a table to be shown.

Lua Browser Changes | 2009 Apr 06
- Now sets the global variables "lbRoot" to the current browsed table. This is done so you can easily work with the table in a custom script using "/run" or similar.
- Some other issues related to showing tables with metatables, is now fixed by using rawget() everywhere instead of normal table access.
- Removed some global pollution from the sort function.
- Now shows a the current table address next to the close button.
- If a table had a metatable with an "__index" function, which would return a value or give an error when accessing table[0], Lua Brower were not able to detect widget objects. This problem has been resolved by testing existance with rawget().
- Fixed an error if a table key was anything but a string or number.
- If you hold down shift when selecting a type filter, it will be selected exclusivly.
- Added the slash command "/lb mousemeta", allows you to browse the meta table of the widget under the mouse.
- Removed the global slash command "/lb global <key>", use "/lb code <code>" instead.
  Optional Files - Lua Browser
Sorry, there are currently no optional files available.
  Archived Versions - Lua Browser
File Name
Version
Size
Author
Date
09.04.07
9kB
Aezay
04-07-2009 08:16 AM
09.04.06
9kB
Aezay
04-06-2009 01:45 PM
09.04.03
8kB
Aezay
04-03-2009 02:34 PM
  Comments - Lua Browser
Post A Reply Comment Options
Old 06-01-2009, 05:39 PM  
Tithulta
An Aku'mai Servant
 
Tithulta's Avatar

Forum posts: 37
File comments: 16
Uploads: 0
could this be used to just view the contents of addons like ct mailmod or expense history? Im trying to find out how much gold was stolen off one of my characters by my nephew.
Tithulta is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-18-2009, 02:36 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
Interface Author - Click to view interfaces

Forum posts: 64
File comments: 463
Uploads: 18
Falter
Hehe, and you're free to do so, all I really meant with it, was as this is a developer tool with the ability to wreck some havoc, I better put up some kind of a warning
__________________
Line - Earthen Ring (EU)
Aezay is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-17-2009, 05:53 PM  
Falter
A Deviate Faerie Dragon

Forum posts: 18
File comments: 24
Uploads: 0
Quote:
do not use this unless you know what you are doing.
I don't know what I'm doing, but I'm going to use it anyway, just because you said that an I love the rest of your addons.
Falter is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-07-2009, 10:02 AM  
Lombra
A Deviate Faerie Dragon
 
Lombra's Avatar
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 171
Uploads: 17
Okay, thanks! Once again, neat addon.
__________________
Grab your sword and fight the Horde!

Shattered Hand-EU
Lombra is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-07-2009, 08:16 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
Interface Author - Click to view interfaces

Forum posts: 64
File comments: 463
Uploads: 18
Lombra
Yes, sorry about that, there was a little bug in yesterday's release. Just uploaded a new one which should work properly.
Aezay is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-07-2009, 08:02 AM  
Lombra
A Deviate Faerie Dragon
 
Lombra's Avatar
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 171
Uploads: 17
Hello,
neat addon, however the scroll frame seems to be a bit broken. It's hard to explain, probably easier if you can see for yourself, but it's as if... first it shows items 1, 3, 5, then you scroll and it shows items 2, 4, 6. Something like that.
__________________
Grab your sword and fight the Horde!

Shattered Hand-EU
Lombra is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-06-2009, 10:51 PM  
HonorGoG
A Fallenroot Satyr
 
HonorGoG's Avatar
Interface Author - Click to view interfaces

Forum posts: 21
File comments: 29
Uploads: 2
Well...

If nothing else, this will save a bunch of "print(somethinghere)" entries inside of WoWLua which is also a good tool to have.

So this addon is a good thing.
HonorGoG is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-04-2009, 03:06 AM  
ALZA
A Murloc Raider
 
ALZA's Avatar

Forum posts: 6
File comments: 88
Uploads: 1
Thanks a lot for this great addon!
ALZA is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-03-2009, 08:29 PM  
mangeg
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
amazing! This will for sure make life easier!
mangeg is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-03-2009, 04:53 PM  
Dridzt
A Frostmaul Preserver
Interface Author - Click to view interfaces

Forum posts: 279
File comments: 411
Uploads: 37
wow
Dridzt is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-03-2009, 04:24 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 560
File comments: 839
Uploads: 20
Looks nice
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.