• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

DebugImp

 

Project Updated:
Files Updated: Sat, Feb 14 2009
Supports Game Version: 1.1.1
Category: Development Tools
Tags:

[Edit Tags]

Project Manager: Bloodwalker
Additional Authors: No additional authors
Current Version: Beta v0.3.5
License: MIT License
Development Site: CurseForge
Avg Daily DL (last 30 days): 1
Downloads Total: 322
Favorites: 3
Comments: 10
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About DebugImp
  •  

Meet the Debug Imp! A new and improved debugging window.

What's New

LOTS!!!

  • Added search functions, opens the copy window with the results of the search, uses any regular lua pattern to search the log
  • Toolbox window with, memory usage details, counters for debug, warning and errors that have occured in the log, mouse coordinates, mouseover window.
  • All existing debug window buttons are now in the Menu of the toolbox
  • Toolbox can be shown and used without the debug window showing
  • Opening the debug window will automatically show the toolbox
  • External addons can add their own context menu items to the Addons menu via a simple function
  • Can now control the alpha of the toolbox and the debug window
  • Trimmed down the borders of the debug window to give you more textlog real estate

Features

  • Advanced logging options to control the log size, auto clearing of the log and deleting of the logfiles
  • Copy button that will open a window with a text edit box containing the last 25 entries in your log for easy cut and paste to other locations, like a forum page, comment box, or irc, also with Prev and Next buttons so you can find just the entry you wanted to copy
  • Reports memory usage details in the toolbox window
  • If you disable any of the filter entries in options window they are never recorded, so no more chasing the entry you want off the screen because the log is getting filled with entries you don't want to see or care about
  • When you choose to enable display of any filter entries in the option window they will only show from that point on, no more scrolling up 10 pages of function entries you don't care about to find that error, no more missing that new error because you had to turn off your log to keep the message you wanted on screen
  • Also catches messages from last shutdown sequence or reloadui
  • Able to search the debug log with a standard lua pattern

Other Addons

If you've written a tool for other authors and want to access your addon from the debug window simply add the following lines to create a menu item just for you in the Addons menu of the toolbox

DebugImpWindow.CreateAddonMenu(label, func)
label should be a wstring containing the text to display in the menu, keep it short
func is the function you wish to be called when your menu item is clicked

Required

  • REQUIRES LibSlash
  • Downloads (5)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  DebugImp Beta v0.3.5 Beta 1.1.1 145 2/14/2009
  DebugImp Beta v0.3.4 Beta Beta 3.0 39 2/9/2009
  DebugImp Beta v0.3.1 Beta Beta 3.0 35 2/8/2009
  DebugImp Beta v0.3 Beta Beta 3.0 36 2/8/2009
  DebugImp Beta v0.2 Beta Beta 3.0 43 1/22/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Flexz said

    fix for search function, that was broken by some patch not long ago:
    [line 202] DialogManager.MakeTextEntryDialog( dialogText, L"", ExecuteSearch )
    change to
    DialogManager.MakeTextEntryDialog( L"DebugImp search", dialogText, L"", ExecuteSearch )

    Reply Report Permalink
  • A fix for the useless error for logs. Log names now have to be wstrings so:
    local impLogfile = "logs/ImpDebug.log" (Line 45)
    should be
    local impLogfile = L"logs/ImpDebug.log"

    Reply Report Permalink
  • Version 0.3.5 now includes a search function for the log, and hopefully a fix for Onni_x's issue with missing log entries

    Reply Report Permalink
  • Onni_x said

    I sent you a PM some time ago about the log entries-bug. Hope you have read it?

    Reply Report Permalink
  • Onni_x said

    In v0.3.4 the logging start only after DebugImp is initialized so all errors before that point are lost. This happens only with /uireload.

    Reply Report Permalink
  • I've tried to reproduce what your describing and it all works fine, no lost messages. The only thing that might be happening is your looking at the wrong debug window.
    As of 0.3.4 the DebugImp window no longer has any buttons of its own, they've all been moved to the toolbox, so if your window has buttons at the bottom and the title bar says "UI Debugging Window" your seeing the original debug window and not DebugImp, and in there yes messages will vanish to save on processing but they've all been copied to the actual DebugImp window and that's the one you should be looking at

    Reply Report Permalink
  • Onni_x said

    I have hopefully found a reason for this behavior now. And yes I do see the new DebugImp-window. When DebugImp is initialized only entries (before that point) equal to "maxEntries" is processed. Propably due to the fact how DebugImp limits the default UiLog entry limits? Here's how you should be able to reproduce this.

    1. Start Warhammer
    2. Change maxEntries to 100
    3. Reloadui
    4. Reloadui (twice because the change wont have an effect for the initialization before that)
    5. You should now see a lot less log entries displayed than before.

    Reply Report Permalink
  • Kenh said

    Appears not to work on the EU client (german server, lang set to english). Cannot feature any error lines since it also knocks out the default debugging. Anyway, looks very promising, hope to see it at work.

    Reply Report Permalink
  • Please try the new version 0.3.2 which has been significantly refactored.
    Most likely cause is some string or log name is different in the EU version.
    You can comment out lines 348-350 of DebugImp.lua to leave the old debug window as is, and you can always access it from the "Customize Interface" window. Click "UI Mods / Addons" -> "Manage" -> "Debug Log" See if anything shows up then

    Reply Report Permalink
  • Nemes said

    Excellent work - logging shutdown/startup messages and saving between sessions is very useful.

    Unfortunately, the scroll handle seems to disappear after a reload:
    http://img228.imageshack.us/img228/7831/noscrollhandlery4.jpg

    Reply Report Permalink
  • Unfortunately thats a bug with the textlog display when your log has more then about 1200 lines, the scroll bar will vanish until you clear the log thats why the default is to clear log on reload. Scrolling with the mousewheel will still work and the slider is still there you just cant see it so clicking on the bar will also move the log up and down

    Reply Report Permalink
  • Raidez said

    Thx!
    Very usefull addon for debugging.
    What do you think about to add search by text fragment (or pattern)?

    Reply Report Permalink
  • A search function could be possible certainly, I'll look into the code and windows it'll need

    Reply Report Permalink
  • Onni_x said

    What if instead or with the ability to add own buttons just add bunch of buttons that you could attach to a lua command? That way you could easily open any addon or command related to your current project.

    Reply Report Permalink
  • WH already has that covered with the macros, you can put in any /script command you like

    Reply Report Permalink
  • Onni_x said

    True and I do have a hotbar dedicated to debug. Would be nice to have an "extra-debug-hotbar" since it's space taken away from the actual playing.

    Reply Report Permalink
  • The last release included new advanced options to control clearing and deleting the log and logfile.
    To make DebugImp work I created a new textlog and only use the default debug log to grab the information you need to see, everything else is shrunk and hidden to minimize any pointless processing and extra resource, at the moment it still looks mostly identical to the default debug log but I have a few more changes in mind to improve useability and I'll be providing a function so that any other addon will be able to have their own button attached to the debug imp window without fighting for space and stepping all over each other. The keyword filter is definately something I'll look at, with a potiential for hundreds of log entries per second, and potentially having dozens of patterns and matching each pattern to each line may cause problems in the long run.

    Reply Report Permalink
  • Onni_x said

    Sounds excellent.

    Reply Report Permalink
  • Onni_x said

    Thank you for this Very useful tool. :)

    Since your addon replaces the default debug-window, it can also interfere with any other addons dependent on that default window. Any chance to get this addon to co-exist or merged with the default one in the future?

    Any hope for you to add custom filter for the debug log? Would be nice to filter out things with just a keywords that could be handled via command line.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 327 LibSlash Development Tools
  2. 126 Phantom Buffs & Debuffs, Development...
  3. 61 LibSurveyor Development Tools
  4. 55 NerfedButtons Action Bars, and Development...
  5. 20 TortallDPSCore Combat, and Development Tools