This article is outdated.

Getting more useful errors

From Wowpedia
Jump to: navigation, search

Add the following function to your Addon's LUA file:

function ErrorWithStack(msg)
   msg = msg.."\n"..debugstack()

Add the following line to your Addon's Init function:


You're done :-).

An alternative is to install the Swatter Add-on available at