Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


/dump prints variable or expression results to the chat frame and is part of the Blizzard DebugTools interface. Output is color coded for easier reading. Tables display up to 30 values, the rest are skipped and a message is shown.

The corresponding Lua function is DevTools_Dump.

Usage

/dump value

This command has no aliases.

Arguments

value
The name of the global variable, table value, frame, or function result. Can be any valid Lua expression.

Example

/dump MAX_CHARACTER_NAME_BYTES

Dump: MAX_CHARACTER_NAME_BYTES
MAX_CHARACTER_NAME_BYTES=48

/dump SlashCmdList

Dump: SlashCmdList
SlashCmdList={
 GUILD_MOTD=<function>,
 FOLLOW=<function>,
 (28 more lines follow, not shown in this example)
 <skipped 57>
}

/dump ChatTypeGroup["CHANNEL"]

Dump: value=ChatTypeGroup["CHANNEL"]
[1]={
 [1]="CHAT_MESSAGE_JOIN",
 [2]="CHAT_MESSAGE_LEAVE",
 [3]="CHAT_MESSAGE_NOTICE",
 [4]="CHAT_MESSAGE_NOTICE_USER",
 [5]="CHAT_MESSAGE_LIST",
}

/dump UnitName("player")

Dump: UnitName("player")
[1]="Shalune"

/dump

Dump: value=
empty result

/dump NOTAVALIDNAME

Dump: NOTAVALIDNAME
NOTAVALIDNAME=nil,
empty result

Patch changes

  • Wrath-Logo-Small Patch 3.2.0a (2009-08-19): No longer compiles and executes its argument as secure code. Fixes "dump macro" exploits which circumvented the Blizzard addon secure code restrictions.
  • Wrath-Logo-Small Patch 3.2.0 (2009-08-04): Added.
Advertisement