Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > WoW Community Forums > UI Customisation > UI/Mod Developer Forum

Reply
 
Thread Tools Display Modes
Old 17-05-2006, 12:43 AM   #1
Xavior
WorldofWar.Net Member
 
Join Date: May 2006
Posts: 2
UI Debugging Help?

I'm developing a relatively elaborate UI Add-on and was wondering what the best way to debug it was.

Being new at this, I only know of the message("text") way of outputing information, but that's way too limiting. What would be the best way to output debug messages within WoW? Ideally I'd like a way to output messages in the chat area or in some external file so that I could analyze larger chunks of data.

Any help with this would be much appreciated!
Xavior is offline   Reply With Quote
Old 17-05-2006, 01:59 AM   #2
Tularis
WorldofWar.Net Member
 
Join Date: Apr 2006
Posts: 2
DEFAULT_CHAT_FRAME:AddMessage('message')
adds it to your default chatframe.

I personally just use a (hidden by default) ScrollingMessageFrame made via my addon's xml file to output debugging info into. If I see something going wrong, I simply make it show up and check what hapenned.
Tularis is offline   Reply With Quote
Old 17-05-2006, 06:34 PM   #3
Xavior
WorldofWar.Net Member
 
Join Date: May 2006
Posts: 2
That ScrollingMessageFrame sounds perfect for what I'd need. I'd need some help to get started with this, though. How do I create this frame in the xml file? And once it's there, how do I output messages to it?

Thanks again!
Xavior is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden