BugStash: The Lua Error Debugger Every WoW Player Needs

BugStash turns confusing Lua errors into readable debug reports for World of Warcraft, showing the exact addon, line, and cause behind every crash.

BugStash

Few things derail a raid night faster than a wall of red Lua errors scrolling up your chat frame. You know something broke, but the game's default error message tells you almost nothing useful. That is exactly the gap BugStash fills. It is a single, dependency-free addon that captures every Lua error, warning, and blocked action in your interface and presents it the way a modern IDE debugger would: a clean call stack, the exact line that failed, the local variables at the moment of the crash, and a plain-language explanation of what went wrong.

Why BugStash Belongs in Your Addon Folder

Most players run dozens of addons, and when one of them misbehaves, the error often surfaces inside an embedded library or even Blizzard code. BugStash solves the blame game by sorting every error into one tab per addon, so you immediately see which addon is responsible. Each tab shows an error count and marks unread entries, and a right-click lets you mark it read, clear it, mute notifications, or disable the culprit on the spot.

If you are ready to download BugStash, the setup could not be simpler. There is no configuration wizard, no libraries to install, and no dependencies to manage. Drop it in, log in, and it starts working. For players who prefer a guided route, the foxygame.net launcher lists BugStash in its addon catalog and installs it with a single click, keeping it updated automatically so you never run an outdated build.

Game Versions and Compatibility

One of BugStash's strongest selling points is how broadly it runs. Whether you are pushing mythic keys on Retail, leveling through Classic, or revisiting old expansions, the addon has you covered. Supported game versions include Retail, Classic, TBC, WotLK, Cataclysm, and MoP, and it also handles the newer protected ("secret") values introduced in current patches without breaking a sweat.

What the Detail View Shows You

  • An error category at a glance, such as Index on nil, Call of nil, Bad argument, Arithmetic error, Secret value, or Syntax error
  • A source card with file, line, and function of the failing code plus a short explanation, like "field 'options' is nil, so nothing can be read from it"
  • A call stack table with function, file, line, and addon in separate columns, with the offending line highlighted
  • An "Only addon code" mode that hides Blizzard frames, C functions, and libraries
  • A locals view with line numbers and Lua syntax highlighting
  • A report tab with one-click plain-text copying for pasting into a bug report

Built for Real Raid Nights

Performance worries are understandable, but BugStash only does work when an error actually happens. Expensive data like stacks and locals is collected only when it is new or outdated, and flood protection throttles any addon spamming errors every frame so your game stays smooth. Identical errors are merged and counted rather than flooding your list.

Errors persist in a database across reloads, relogs, and full restarts, and each login starts a new session you can filter by. Notifications are entirely optional: a toast, a minimap notice, a clickable chat link, an alert sound, or an auto-open window that never triggers in combat. The minimap button shows an unread counter, and there is an addon compartment entry plus LibDataBroker support for Titan Panel, ChocolateBar, and ElvUI data texts. English and German localization round things out.

Getting Started

Learning how to install BugStash takes about a minute: place the folder in your Interface/AddOns directory, restart the client, and type /bugstash or /bugs to open the window. From there, /bugstash test fires a harmless error so you can explore every feature, while /bugstash stats, /bugstash clear, and /bugstash wipe keep your database tidy. If the status bar reads "Inactive," another addon has claimed the game's error handler, so disable that one first.

For anyone who has ever stared blankly at a cryptic Lua message, BugStash for World of Warcraft is the missing translator. It turns red text into actionable information, points a finger at the right addon, and helps you file reports developers can actually use. Install it once and your next troubleshooting session becomes a whole lot shorter.

===ARTICLE===