public
Description: WoW Addon - Spews out lua
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/spew.git
Click here to lend your support to: spew and make a donation at www.pledgie.com !
spew /
name age message
file LibStub.lua Sun Aug 03 16:42:30 -0700 2008 We don't need no stinking LibStub [tekkub]
file README.textile Sun Nov 02 00:06:25 -0700 2008 Update readme [tekkub]
file Spew.lua Mon Nov 10 18:53:34 -0800 2008 Don't recurse too deeply into tables [tekkub]
file Spew.toc Sun Oct 26 17:58:28 -0700 2008 Change '/spewmouse' to '/spew mouse'... seem Ad... [tekkub]
file changelog.txt Sun Nov 23 21:25:36 -0800 2008 Update changelog for 3.0.3.5-Release [tekkub]
file tekKonfigButton.lua Wed Oct 22 19:15:10 -0700 2008 Add button to clear spewings [tekkub]
file tekPanelAuction.lua Sat Aug 30 17:10:08 -0700 2008 Embed update [tekkub]
README.textile

Spew is a dev tool based off Iriel’s DevTools and Ace2’s /dump commands. It does the same basic thing (running lua code snippets and printing out the results), but in a slightly different way.

Why did I create Spew?

  • I liked DevTools, but didn’t like it’s output style (sorry Iriel)
  • I liked Ace2’s style, but not it’s code (table recursion so deep you need a timer to ensure you don’t execute too long? Gag me with spoon!)
  • I hated how both these addons spammed up the chatframe

So what does Spew do? Simple, you give it a bit of lua and it evaluates it. If the result is a table or frame, it pops open a panel and dumps detailed info. It the result is a simple value or multiple values, it prints a single line is the chatframe. Like Ace2, Spew will call various :Get*, :Is* and :Can* functions on frames and outputs their results. It will also shallow-recurse one level into subtables, and print up to 5 values for each.

To run spew, simply type /spew some_lua_here. The frame can be opened by simply typing /spew

Spew can also list all visible frames under the mouse with the /spew mouse command.

Spew will, of course, take advantage of AddonLoader if it is present and not load until it’s slash command is used.

Links

Visit my site for more info.
Please report all bugs and feature requests to my Google Code tracker
Please direct all feedback and questions to my Google Groups mailinglist.