Module Debugger
In: cli/ruby-debug/command.rb
cli/ruby-debug/commands/breakpoints.rb
cli/ruby-debug/commands/catchpoint.rb
cli/ruby-debug/commands/control.rb
cli/ruby-debug/commands/display.rb
cli/ruby-debug/commands/eval.rb
cli/ruby-debug/commands/frame.rb
cli/ruby-debug/commands/help.rb
cli/ruby-debug/commands/irb.rb
cli/ruby-debug/commands/list.rb
cli/ruby-debug/commands/method.rb
cli/ruby-debug/commands/script.rb
cli/ruby-debug/commands/settings.rb
cli/ruby-debug/commands/stepping.rb
cli/ruby-debug/commands/threads.rb
cli/ruby-debug/commands/tmate.rb
cli/ruby-debug/commands/trace.rb
cli/ruby-debug/commands/variables.rb
cli/ruby-debug/interface.rb
cli/ruby-debug/processor.rb
cli/ruby-debug.rb

Methods

Constants

PORT = 8989   the port number used for remote debugging

External Aliases

start_remote -> start_server

Attributes

control_thread  [R] 
thread  [R] 
wait_connection  [RW]  in remote mode, wait for the remote connection

Public Class methods

Returns setting object. Use Debugger.settings[] and Debugger.settings[]= methods to query and set debugger settings. These settings are available:

  • :autolist - automatically calls ‘list’ command on breakpoint
  • :autoeval - evaluates input in the current binding if it‘s not recognized as a debugger command
  • :autoirb - automatically calls ‘irb’ command on breakpoint
  • :stack_trace_on_error - shows full stack trace if eval command results with an exception
  • :frame_full_path - displays full paths when showing frame stack
  • :frame_class_names - displays method‘s class name when showing frame stack
  • :reload_source_on_change - makes ‘list’ command to always display up-to-date source code
  • :force_stepping - stepping command asways move to the new line

Connects to the remote debugger

[Validate]