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


4.14.8 Show position information as statements are executed (‘set linetrace’)

BASH has “set -x” tracing to show commands as they are run. However missing from this is file and line position information. So the debugger compensates here for what I think is deficiency of BASH by providing this information. The downside is that this tracing is slower than the built-in tracing of BASH.

The status of whether line tracing is enabled can be show via show linetrace.

set linetrace [ on | 1 ]

Turn on line tracing.

set linetrace [ off | 0 ]

Turn off line tracing.