Next: , Previous: , Up: Controlling bashdb   [Contents][Index]


4.14.12 Debugger Commands Tracing (‘set trace-commands’, ‘show trace-commands’)

If you need to debug user-defined commands or sourced files you may find it useful to enable command tracing. In this mode each command will be printed as it is executed, prefixed with one or more ‘+’ symbols, the quantity denoting the call depth of each command.

set trace-commands on

Enable command tracing.

set trace-commands off

Disable command tracing.

show trace-commands

Display the current state of command tracing.