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



2162
2163
2164
2165
2166
2167
2168
2169
2170
# File 'lib/debug/session.rb', line 2162

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



2176
2177
# File 'lib/debug/session.rb', line 2176

def flush
end

#ignore_output_on_suspend?Boolean



2172
2173
2174
# File 'lib/debug/session.rb', line 2172

def ignore_output_on_suspend?
  false
end