User Tools

Site Tools


set_debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

set_debug [2006/08/29 16:08] (current)
Line 1: Line 1:
 +======Synopsis:​======
 +[[set]] debug [<​level>​]
 +
 +======Description:​======
 +When turned on, this variable enables various degrees of debugging
 +while the client is running. ​ It is useful for seeing precisely where
 +a particular alias or function is failing, what variables are being
 +assigned what values, etc.  There are three general classes of debug
 +output, each assigned a unique number.
 +
 +^ Bit ^ Value ^                      Purpose ​                        ^
 +|  0  |   ​1 ​  | displays all commands executed, including aliases ​   |
 +|  1  |   ​2 ​  | displays all actual alias and variable substitutions |
 +|  2  |   ​4 ​  | displays all function calls and their return values ​ |
 +
 +Multiple classes may be displayed at once by adding the desired
 +values together. ​ A setting of 0 (zero) turns off debugging.
 +
 +======Examples:​======
 +To show all commands executed and alias expansion:
 + /set debug 3
 +
 +To show everything:
 + /set debug 7
 +
 +======Other Notes:​======
 +This command can generate a lot of output, so setting [[window hold_mode|HOLD_MODE]] on is
 +recommended.
 +
  
set_debug.txt ยท Last modified: 2006/08/29 16:08 (external edit)