AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
Developer Discussions
»
Lua/XML Help
»
Table serialization
Go to Page...
Reply
View First Unread
Thread Tools
Display Modes
09-10-12, 08:57 PM
#
1
Rainrider
A Firelord
Join Date: Nov 2008
Posts: 454
Table serialization
I need to print nested tables for debug purposes. Is it possible to invoke /dump from lua? Or are there some other possibilities with indented colored output?
Rainrider
View Public Profile
Send a private message to Rainrider
Find More Posts by Rainrider
09-10-12, 09:09 PM
#
2
Rainrider
A Firelord
Join Date: Nov 2008
Posts: 454
Nevermind, found Dump.lua
DevTools_Dump(table) does the trick.
Last edited by Rainrider : 09-10-12 at
09:26 PM
. Reason: paste fail
Rainrider
View Public Profile
Send a private message to Rainrider
Find More Posts by Rainrider
Reply
WoWInterface
»
Developer Discussions
»
Lua/XML Help
» Table serialization
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off