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



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

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



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

def flush
end

#ignore_output_on_suspend?Boolean

Returns:

  • (Boolean)


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

def ignore_output_on_suspend?
  false
end