Voltar ao Blog
How to find out which addon is causing an error

How to find out which addon is causing an error

•Troubleshooting•Brendo Arruda

The right way to investigate an addon with errors

The worst way is to randomly disable everything and then not know what resolved it.

The best method is incremental:

  1. reproduce the error
  2. reset the minimum environment if necessary
  3. activate/deactivate in blocks
  4. reduce until you find the culprit
  5. Validate the fix

Incremental diagnostic method

Step 1 — Describe the failure

Before mixing:

  • what happened?
  • when does it happen?
  • in combat, login, bag, map, raid?
  • Lua error appears or just strange behavior?

Step 2 — Test without addons

If the failure disappears without addons, the problem is almost always with the modified interface or with the set of addons itself.

Step 3 — Reactivate in blocks

Reactivate by groups:

  • UI addons
  • combat addons
  • bags/loot
  • WeakAuras
  • usefulness

When the error returns, you have already reduced the universe a lot.

Step 4 — Isolate one by one

Within the failed block, turn on one at a time until you reproduce the problem.


Optimal decommissioning and testing order

  1. More UI invasive addons
  2. WeakAuras / custom scripts
  3. combat addons and nameplates
  4. bags, maps and QoL
  5. small addons last

This order usually speeds up the process.


How to record and reproduce failure

Make a mini log:

  • connected addon
  • location
  • action that caused the bug
  • error message
  • print or video if possible

This avoids that feeling of “I think it was that addon”.


Common mistakes in the isolation process

  • exchange ten things at the same time
  • not writing down what was tested
  • reimport old configuration too soon
  • trust that “it disappeared and that was it”
  • forgetting to test the scenario that actually caused the bug

Addon fix checklist

  1. Did I reproduce the error?
  2. Did I test without addons?
  3. Did I test by blocks?
  4. Have I isolated a specific addon or configuration?
  5. Did I validate the correction in the same scenario?

Minimum recommendation

To find out which addon is causing the error:

  1. test by blocks
  2. isolate with method
  3. record the failure
  4. Validate in real scenario

Addon bug seems chaotic. But it almost always becomes simple when the process is organized.

Pronto?

Gostou do conteúdo?

Entre no servidor ou junte-se à comunidade no Discord.