Fab Debug Copy

Keeps add-on chat lines and Lua errors so you can copy them with /fdc. Made for WoW Forever.
FabDebugCopy-1.png

FabDebugCopy-1.png

FabDebugCopy-settings.png

FabDebugCopy-settings.png

Description

Fab Debug Copy

Keeps the lines add-ons print to chat, and every Lua error, so you can copy them all at once.

When an add-on prints a debug line or an error breaks, the text scrolls away. Fab Debug Copy keeps it, so you can open one window and copy everything for a bug report.

Features

  • Add-on lines: every line an add-on prints to chat, including debug lines, load messages, and slash command answers.
  • The game's answers: the game's yellow lines, such as its answers to /played, /who and /roll.
  • Lua errors: every Lua error and blocked action, with where it happened. An error the game keeps hidden is still noted. Each kind has its own switch.
  • Copy window: /fdc opens every kept line as a list, the newest last. Errors are red, blocked actions orange, the game's lines yellow. Press Ctrl+C to copy the lines shown. Escape closes it.
  • One line: click a line to copy only that one. Click it again to copy them all.
  • Filters and search: show only errors, only add-on lines or only the game's lines, each with its count. Type in the search box to keep the lines with that text.
  • Pop-up after a command: type a slash command and its answer opens in a small window (up to 200 lines, or what arrives in 3 seconds). Ctrl+C copies it and closes the window. In a fight it waits until the fight ends. You can switch it off.
  • Times: each line shows when it was printed. Untick Times to copy the lines without them.
  • Your window: drag it, resize it by its corner. It opens where you left it.
  • Lines kept: 100 to 2000 lines. The default is 500. The oldest go first.
  • Start over: clears every line kept.
  • This session only: each login and /reload starts with an empty list.

How to use

  • Type /fdc to open the copy window, then press Ctrl+C.
  • While the window is open it holds the keyboard, so Ctrl+C works. Press Escape to get your keys back.
  • Open Options > AddOns > Fab Debug Copy to change what is kept.
Command What it does
/fdc Opens the copy window
/fdc clear Forgets every line kept
/fdc on | /fdc off Keeps or stops add-on lines
/fdc options Opens the settings

Works with

  • Any add-on that prints to chat. Fab Debug Copy needs no other add-on.

Known limits

  • Players' chat, loot and combat lines are never kept. The game's yellow system lines (its answers to /played, /who, /roll) are kept unless you switch them off.
  • An add-on can print player names or other text from the game. Those lines are kept too.
  • A line an add-on sends straight into the Combat Log window is not kept: that window's lines are the combat log's.
  • An add-on that takes over error reporting after you log in, and keeps errors to itself, stops Lua errors from being kept.
  • The lines are saved in your account's SavedVariables folder, on your computer. Check them before you share a copy.

Made with AI

Much of this add-on's code was written with AI coding tools, under the direction of FabAddons. Its icon was made with an AI image generator.

Feedback

Found a bug or have an idea? Leave a comment on this page.

Fab add-ons are made by Goose x Goose. MIT license.

Fab Debug Copy Team

profile avatar
  • 10
    Projects
  • 140
    Downloads

More from FabAddonsView all