Next: Prompt, Previous: Line Tracing, Up: Controlling bashdb [Contents][Index]
You may want to save the output of the debugger commands to a file. There are several commands to control the debuggers’s logging.
set logging
set logging [ on | 1 ]
Enable or Disable logging.
set logging file filename
Change the name of the current logfile. The default logfile is bashdb.txt.
set logging overwrite [ on | 1 ]
By default, the debugger will append to the logfile. Set
overwrite
if you want set logging on
to overwrite the
logfile instead.
set logging redirect [ on | 1 ]
By default, the debugger output will go to both the terminal and the
logfile. Set redirect
if you want output to go only to the log
file.
show logging
Show the current values of the logging settings.