WhatAddonForever-2.0.0.zip
What's new
## 2.0.0
WhatAddon, rebuilt for the WoW Forever client as WhatAddon Forever. It installs as its own addon (`WhatAddonForever`) and keeps its own saved history; the retail WhatAddon is untouched.
**Error chart**
- New Chart tab (`/wha chart`, or right-click the minimap button): stacked bars of errors per minute for the last hour, per hour for the last 24 hours, or per day for the last 14 days.
- Bars are coloured by addon. The five addons with the most errors in the range get their own colour, the rest are grey.
- Hover a bar for its breakdown. Click a bar or a legend entry to open that addon's errors.
**Popups held when they'd get in the way**
- During combat, errors are recorded but the popup waits. When combat ends, one summary shows everything that was held ("3 Lua errors during combat: Details (2), Questie (1)").
- Battlegrounds and arenas are held the same way. Dungeons and raids can be held too (off by default). Each is a checkbox in Options.
- **Mute until I leave**: a button on the popup, `/wha mute`, or Shift-click on the minimap button holds popups until you leave the instance or battleground you're in. Outside an instance it mutes for 30 minutes. `/wha mute 15` mutes for 15 minutes, `/wha unmute` turns popups back on.
- Errors are always recorded, muted or not. Only the popup waits.
**Finding the culprit**
- An error that surfaces in Blizzard's code (FrameXML, SharedXML, Blizzard_ addons) is blamed on the addon that called it, read from the call stack, not on Blizzard.
- An error inside a shared library (Libs, Embeds) is blamed on the addon that was using it, not whichever addon happened to ship the library.
- Cut-off paths such as `...ns/Questie/...` or `...tie/x.lua` are matched against your installed addons.
- Other addons seen in the stack are listed with the error.
- Errors from before saved variables are ready are queued and recorded at login instead of being lost.
**Popup and window**
- The popup is a small panel near the top of the screen instead of a dialog in the middle, with **Details**, **Disable** and **Mute**. It updates in place while errors keep coming, and can be dragged.
- New errors window (`/wha`): addons with errors, newest first, with this session's count. Each addon shows its distinct errors, whether it's loaded or disabled, and the full message and stack in a box you can copy from.
- A repeating error is one entry with a count, not a new line every frame. Up to 25 distinct errors are kept per addon, for 30 days.
- "Interface action failed because of an AddOn" (blocked and forbidden actions) is recorded too. It can be turned off in Options.
- Minimap button with this session's error count (greyed out while muted), and an entry in the addon compartment.
**Fixes**
- **Disable** now works. It called a function that doesn't exist in the client, so it never switched anything off. It now disables the addon for this character, names any addons that depend on it, and offers a **Reload UI** button. An **Enable** button undoes it.
- On login you're reminded of addons WhatAddon switched off that are still off.
- Error times are saved as real time. They were saved with the game's uptime clock, so "first seen" and "last seen" were wrong after a relog.
- The debug messages printed on every login are gone.
- An error in another error handler can no longer loop back into WhatAddon. Errors are still passed on to whatever handler was there before, so Blizzard's error display (or another error addon) keeps working.
**Changed**
- The slash command is `/wha` or `/whataddon`. `/wa` is left to WeakAuras.
- Blizzard's own code and WhatAddon itself can't be disabled from the window.
**Known limitation**
- Addons load alphabetically, so an error raised while an addon earlier in the alphabet is loading can happen before WhatAddon is listening.
## 1.0.0
- The original retail WhatAddon: a popup naming the addon behind a Lua error, with a button to disable it.
This mod has no additional files

