• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

APIDebugger

 

Project Updated:
Files Updated: Tue, Oct 21 2008
Supports Game Version: Beta 3.0
Category: Development Tools
Tags:

[Edit Tags]

Project Manager: Felyza
Additional Authors: No additional authors
Current Version: V1.8-Release
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 1
Downloads Total: 353
Favorites: 2
Comments: 14
  • Contests
  • About APIDebugger
  •  

Developer Tool for API documentation. Useless to the general public.

An API Debugger made into an addon format, based entirely on code available at thewarwiki.com. It registers all event handlers, and will print event information to the debug window when they occur. Basic framework for printing special variables at time of event included in lua comments.

If anyone wishes to use it, feel free to add information regarding the events to http://thewarwiki.com/wiki/API:Event_List so that all may benefit.

TODO: Add SavedVariables data collection

WARNING: Do not remove the unregister of event UPDATE_PROCESSED unless you have to. It fires every frame.

UPDATE 1.8: Due to changes how loading works, will initialize at ENTER_WORLD or RELOAD_INTERFACE. Once in game, you can manually edit the lua file and tell it to NOT delayed initialize, and it will initialize fine if you're reloading the interface, but don't leave it set that way, as it will crash when you restart the client. If this occurs, you need to edit the lua to perform the delayed initialize again.

Also, the DevBar tool is a great compliment to apidebugging, available at http://code.google.com/p/devbar/. Due to copyright issues since its a default UI addon for developers, I will not put the project on Curse.

  • Downloads (7)
  •  
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  
  APIDebugger V1.3-Release Release Beta 3.0 18 10/2/2008
  APIDebugger V1.1-Release Release Beta 3.0 15 10/2/2008
  • Screenshots (1)
  •  
  • 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.
  • Haxxell said

    Nice addon, It help me a lot to understand how "things works" before I create my first add on ;)

    BUT I just realised (after few weeks of issues)that this addon crash my client in certain cases.
    After a lot of tests, I found that it's always link with "guild events" (each time someone join or leave the guild, my client crash, even when a Calendar Event is set, etc...).

    Since I discovered that, I install this addon only when I need (and ask my guild to not planed any events, to not guild anybody etc), but I still need this wonderfull add on :)

    Perhaps you could add a little check box to log or not this kind of events/functions (guild related) and unchek it by default or something like this to avoid this kind of crash.

    I just hope this message will help people who have crashes for the same reason and you to fix it.

    Thanks again for this tool, I will use it for ever, with or without bugs ;)

    Reply Report Permalink
  • Felyza said

    Make sure you are all updating to 1.8. They changed how loading works, so it won't load properly in 1.7 and earlier.

    Reply Report Permalink
  • SirLazarus said

    Awesome tool. Thank You! :)

    Reply Report Permalink
  • Felyza said

    Get 1.7 for 1.02. Earlier versions will crash to desktop. This is due to changes in how event handlers work.

    Reply Report Permalink
  • Felyza said

    Until it appears here, you can get it from http://war.curseforge.com/projects/apidebugger/ (click on files, up top)

    Reply Report Permalink
  • Branderic said

    Version 1.5 seems to crash my client with the new 1.0.2 patch.

    Reply Report Permalink
  • Felyza said

    Until it populates here, please get 1.5 from http://war.curseforge.com/projects/apidebugger/

    Reply Report Permalink
  • Felyza said

    This is really silly. I updated to 1.5, however it never realized it. I went and re-pushed 1.5 to release, and I suggest switching. Using an idea offered by Aiiane, I was able to get it working from game start. It checks for the initial loading screen to complete, then initializes. You can catch enter_world now, if you really must see it. I'll go ahead and say, no parameters on it though.

    Reply Report Permalink
  • Felyza said

    Please update to 1.4

    Reply Report Permalink
  • Felyza said

    Ok, fixed the issue with needing to disable via the xml file. I made it so you MUST reload to activate the addon. I'll toy with it later to catch other things, however this addon and initial enter world do not play well together.

    To use now, just install, open debug window, and hit reloadui

    Reply Report Permalink
  • Sebel1974 said

    Does it mean it´s disabled by default?

    Reply Report Permalink
  • Sebel1974 said

    Good Job. Now it works for me. :)

    Reply Report Permalink
  • Felyza said

    Screenshot posted. Make sure you heed the warning.

    Reply Report Permalink
  • ArThoX said

    Can you post a screen of the addon working ?

    Reply Report Permalink
  • Felyza said

    I'm working on it.

    Reply Report Permalink
  • Sebel1974 said

    I´m sorry but this one doesn´t work for me. After opening the debug window I´m getting the same error message over & over again. [UiLog][Function]: (APIDebugger): EventDebug_UPDATE_PROCESSED{0.0205} [UiLog][Error]: (APIDebugger): Script Call failed - Error while calling [EventDebug_UPDATE_PROCESSED]: [string 'Interface/Addons\APIDebugger\APIDebugger.lua'}:6: attempt to call global 'pprint' [a nil value]

    Reply Report Permalink
  • Sebel1974 said

    Good job. Now it works. :)

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

Average downloads per day

  1. 199 LibSlash Development Tools
  2. 75 Phantom Buffs & Debuffs, Development...
  3. 46 NerfedButtons Action Bars, and Development...
  4. 24 LibSurveyor Development Tools
  5. 19 RV_Mods Unit Frames, Combat, Development...