Debugger is the module name space for ruby-debug.
PORT | = | 8989 unless defined?(PORT) | the port number used for remote debugging | |
INITFILE | = | 'rdebug.ini' | Of course MS Windows has to be different | |
HOME_DIR | = | (ENV['HOME'] || ENV['HOMEDRIVE'].to_s + ENV['HOMEPATH'].to_s).to_s | ||
INITFILE | = | '.rdebugrc' | ||
HOME_DIR | = | ENV['HOME'].to_s | ||
RUBY_DEBUG_DIR | = | File.expand_path(File.dirname(__FILE__)) unless defined?(RUBY_DEBUG_DIR) |
start_remote | -> | start_server |
annotate | [RW] | gdb-style annotation mode. Used in GNU Emacs interface |
cmd_port | [R] | |
control_thread | [R] | |
ctrl_port | [R] | |
start_sentinal | [RW] | If set, a string to look for in caller() and is used to see if the call stack is truncated. |
thread | [R] | |
wait_connection | [RW] | in remote mode, wait for the remote connection |
Runs normal debugger initialization scripts Reads and executes the commands from init file (if any) in the current working directory. This is only done if the current directory is different from your home directory. Thus, you can have more than one init file, one generic in your home directory,
and another, specific to the program you are debugging, in the
directory where you invoke ruby-debug.
Returns setting object. Use Debugger.settings[] and Debugger.settings[]= methods to query and set debugger settings. These settings are available: