Class | Debugger::ScriptInterface |
In: |
cli/ruby-debug/interface.rb
|
Parent: | Interface |
A ScriptInterface is used when we are reading debugger commands from a command-file rather than an interactive user. Command files appear in a users initialization script (e.g. .rdebugrc) and appear when running the debugger command source (Debugger::SourceCommand).
command_queue | [RW] | |
histfile | [RW] | |
history_length | [RW] | |
history_save | [RW] | |
restart_file | [RW] |
confirm is called before performing a dangerous action. In running a debugger script, we don‘t want to prompt, so we‘ll pretend the user has unconditionally said "yes" and return String "y".