Site Tools


set_debug
no way to compare when less than two revisions

Differences

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


set_debug [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
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  |     | displays all commands executed, including aliases    |
 +|  1  |     | displays all actual alias and variable substitutions |
 +|  2  |     | 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 by 127.0.0.1