Auto-Evaluation of Unrecognized Debugger Commands (set auto eval)¶
set autoeval [ on | off ]
Evaluate unrecognized debugger commands.
Often inside the debugger, one would like to be able to run arbitrary
bash commands without having to preface expressions with
print or eval. Setting autoeval on will cause unrecognized
debugger commands to be eval’d as a bash expression.
Note that if this is set, on error the message shown on type a bad debugger command changes from:
Undefined command: "fdafds". Try "help".
to something more bash-eval-specific such as:
/tmp/bashdb_eval_26397:2: command not found: fdafds
See also