Class: DEBUGGER__::UI_Base

Inherits:
Object show all
Defined in:
lib/debug/session.rb

Direct Known Subclasses

UI_LocalConsole, UI_ServerBase

Instance Method Summary collapse

Instance Method Details

#event(type, *args) ⇒ Object



2119
2120
2121
2122
2123
2124
2125
2126
2127
# File 'lib/debug/session.rb', line 2119

def event type, *args
  case type
  when :suspend_bp
    i, bp = *args
    puts "\nStop by \##{i} #{bp}" if bp
  when :suspend_trap
    puts "\nStop by #{args.first}"
  end
end

#flushObject



2133
2134
# File 'lib/debug/session.rb', line 2133

def flush
end

#ignore_output_on_suspend?Boolean

Returns:

  • (Boolean)


2129
2130
2131
# File 'lib/debug/session.rb', line 2129

def ignore_output_on_suspend?
  false
end