插件中文资料库
中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。
- 界面布局、头像框、姓名板和动作条优化
DebugLog 插件下载与使用指南
本页整理了 DebugLog 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。
适合谁用
DebugLog 是一款 开发工具 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。
基本信息
- 插件作者:Expelliarm5s
- 插件分类:开发工具
- 适配版本:12.0.0,1.15.8,5.5.3,2.5.5,12.0.1
- 累计下载:13,632
安装方法
- 点击上方下载按钮获取 DebugLog插件文件。
- 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
- 重启游戏或在角色界面点击插件,确认 DebugLog 已启用。
- 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。
使用建议
DebugLog 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。
DebugLog 常见问题
DebugLog 适合需要 开发工具 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。
下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。
常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。
可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。
插件 AI 问答
可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。
DebugLog 是一款魔兽世界插件,主要用于开发工具相关功能。建议根据自己的版本和插件环境先测试兼容性。
插件用途
DebugLog 主要面向需要开发工具功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。
适用场景
- 开发工具相关功能
使用建议
安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。
DebugLog collects and displays debug logs.
Writing to debug logs during addon development is nice for finding bugs and to see what's going on in your addon, but the code to display the logs doesn't necessarily have to be in your addon itself.
The addon DebugLog is useful for this. It displays one or more scrollable and searchable debug logs that are independent of your addon.
Since the log content of each debug log is created in the memory space of this addon, there is no bad memory impact in your addon when writing to a debug log.
The interface opens with /dl or by clicking on the provided LDB header (Titan Panel, Bazooka etc.)
Example Log:

If required, each log can be exported to CSV or HTML or Markdown for later review (last 500 lines).
How to use:
To create a debug log and write to it just write anywhere in your addon source code:
if DLAPI then DLAPI.DebugLog(addonName, ...) end
where
addonName may be a variable to hold the name of your addon (or just use a static string value) and
"..." is anything that works correctly as argument to format().
If not already there, a new log is created and it's window can be displayed -- given DebugLog is loaded -- with /dl.
You can create addional tabs, e.g. a "Testing" tab by writing:
if DLAPI then DLAPI.DebugLog("Testing", ...) end
Example 1:
if DLAPI then DLAPI.DebugLog("Testing", "Check this value: %s", tostring(v)) end
Debug messages can have categories and/or verbosity levels, which are detected by the addon (e.g. "UI~Debug message", "1~Debug message", "UI~3~Debug message" etc).
Verbosity levels are numbers from "1" to "9", a category may be any short text string.
If you add "OK~...", "WARN~..." and "ERR~...." to your message, it will be displayed in green, blue and red (e.g. "OK~Comm~1~Incoming addon message via Battle.NET" is detected as category "Comm", verbosity level 1 and "Incoming addon message via Battle.NET" is displayed in green).
If you want to be really safe in calling the API, you can encapsulate the call:
local function DebugPrintf(...)
local status, res = pcall(format, ...)
if status then
if DLAPI then DLAPI.DebugLog(addonName, res) end
end
end
Example 2: Change Column Width
You can adapt column widths of the default format by:
-- more space for category column
if DLAPI and DLAPI.GetFormat and DLAPI.IsFormatRegistered then
local fmt = DLAPI.IsFormatRegistered(DLAPI.GetFormat(addonName))
if fmt and fmt.colWidth then
fmt.colWidth = { 0.05, 0.12, 0.11, 0.03, 1 - 0.05 - 0.12 - 0.11 - 0.03, }
end
end
Addon Options:
The Verbosity Level option is 6 by default. Any message with a higher verbosity level isn't going to be displayed at first.
The Time Format option is used to provide the displayed time format (as valid argument for date(), e.g."%m-%d %H:%M:%S").
To make it simple, "Search" and "Export" is only displayed if there is at least one category or one verbosity level entry. With the "Show Search/Export" option this can be modified.
Special Tabs:
(v0.1.6) Some special tabs can be created: /dlg to browse game globals, /dle to browse registered events and /dlc to browse chat events.
(v1.1.17) "/dl table abc" opens a tab with global table "abc" if it exists, so /dlg is equivalent with /dl table _G.
(v1.1.27) "/dla" will show all present AddOns and some info about the AddOns. Left-/Right-Click on an AddOn will show it's data table and it's object table.
Browsing globals with /dlg:

Log Format:
The default log format -- the specification of the scroll table columns and it's content -- can be changed to support other debug content.
See the examples in GUI_debuglog_fmt_*.lua and the API in GUI_debuglog_api.lua.
Troubleshooting:
Please report any bugs you may find or any suggestions you might have to the ƇurseFȯrɡe Project Page
If you wish, you can send me a PM to Expelliarm5s on ƇurseFȯrɡe.
ATTENTION: The only original source for my addons is the ƇurseFȯrɡe site or the ƇurseFȯrɡe updater app. Do not download my addons from another website or with other download apps as they are likely to be out of date and may contain malware.
My other addons (may or may not be useful to you):
- Rematch_TSMPetValues - Add TSM market values to the Rematch pet list
- TradeSkillFluxCapacitor - Let the trade skills window remember the last recipe and salvage item
- RinseOBags - Move items between bags and banks (fast)
- LevelTimingsGold - Statistics for Character Level Challenges
- BioBreakTimer - Onscreen AFK Timer for bio breaks and other most important things
- IMODIT_FarmingBar - Add Items in Bank, Guild Bank and AH to the FarmingBars
- Broker_TSMProfile - Displays the current TSM profile and lets you switch between profiles
- SellableItemDrops - Logging your sellable item drops with location, time and market value
- DeTrashLoot - Delete or sell items in bags based on their sell or market value
- MakeMeGetMyMain - Notifies you when something happens to your character
- DebugLog - Collect and View Debug Logs
用户评价
暂无 / 5,0 条评价相关推荐
继续看看这些内容