Previous: Debugging a Running Shell Script, Up: Calling from Program [Contents][Index]
You can also turn on and off line tracing. Here’s an example
source path-to-program/bashdb-trace # modify location ... _Dbg_linetrace_on for i in `seq 10` ; do echo $i done _Dbg_linetrace_off _Dbg_QUIT_ON_QUIT=1
The _Dbg_QUIT_ON_QUIT
variable make sure the program doesn’t
stay inside the debugger after it quits. It can also be set earlier in
the program.
Again <path-to-program>
is whatever path needed to located
<bashdb-trace>
. For example it might be </usr/local/share>
on some GNU/Linux installations.