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:
3.0.1.3-Beta
Date:
08-30-2008 08:17 PM
Size:
4.28 Kb
Downloads:
746
Favorites:
18
MD5:
tekDebug
tekDebug is a debug output addon for developers. It provides a handy place to dump debug output for your addon, without spamming the chatframes of your users. To see debug output, the user must install tekDebug.

Adding support to your addon

So how do you use this bugger with your addon? simple!
Code:
local f = tekDebug:GetFrame("MyAddon")
This gets you a ScrollingMessageFrame to output debuggery into. You can call f:AddMessage(...) directly if you like, pass it off to your Debug lib, whatever.

In my addons this is what I do...

Force tekDebug to load before the addon, if present:
Code:
## OptionalDeps: tekDebug
Then make a Debug function (note, this version is NOT nil-safe)
Code:
local debugf = tekDebug and tekDebug:GetFrame("MyAddon")
local function Debug(...) if debugf then debugf:AddMessage(string.join(", ", ...)) end end
Or, if you use Dongle:
Code:
MyAddon = DongleStub("Dongle-1.0"):New("MyAddon")
if tekDebug then MyAddon:EnableDebug(1, tekDebug:GetFrame("MyAddon")) end
Accessing the output

Now that you've got your debug redirected, how do you view it? If you use an LDB quicklauncher addon, you'll get a launcher there. Otherwise, you can just type /tekdebug or /td

Links

Visit my site for more info.
Please report all bugs and feature requests to my Google Code tracker
Alpha builds can be found on github.
Please direct all feedback and questions to my Google Groups mailinglist


Click here to lend your support!
  Change Log - tekDebug
3.0.1.3-Beta
Forgot LibStub
Embed update

3.0.1.2-Beta
Remove OH and Dongle, completely standalone now
Also added optional LDB launcher (only if LDB is present)
  Optional Files - tekDebug
Sorry, there are currently no optional files available.
  Comments - tekDebug
Post A Reply Comment Options
Old 02-05-2009, 06:54 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
thanks for that tekk, any alternative to DevTools is welcome here because the fact you have the outputs sent in the chat frame force you to go looking for a chat mod to correctly read dev outputs -_- Guess you made that mode for such same reason DevTools couldn't cover, shame on me I missed it for months but the small 15-min of fame box in the wowinterface homepage tempted me to click the mod yet faming !D

Keep it up

Last edited by Mera : 02-05-2009 at 07:01 AM.
Mera 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.