Parent

Debugger::Xml::Ide::Processor

Attributes

context[R]
display[R]
file[R]
line[R]

Public Class Methods

new(interface) click to toggle source
# File lib/debugger/xml/ide/processor.rb, line 9
def initialize(interface)
  @mutex = Mutex.new
  @interface = interface
  @display = []
end

Public Instance Methods

at_breakpoint(context, breakpoint) click to toggle source
# File lib/debugger/xml/ide/processor.rb, line 15
def at_breakpoint(context, breakpoint)
  raise "@last_breakpoint supposed to be nil. is #{@last_breakpoint}" if @last_breakpoint
  # at_breakpoint is immediately followed by #at_line event. So postpone breakpoint printing until #at_line.
  @last_breakpoint = breakpoint
end
at_catchpoint(context, excpt) click to toggle source

TODO: Catching exceptions doesn’t work so far, need to fix

# File lib/debugger/xml/ide/processor.rb, line 23
def at_catchpoint(context, excpt)
end
at_line(context, file, line) click to toggle source
# File lib/debugger/xml/ide/processor.rb, line 30
def at_line(context, file, line)
  if context.nil? || context.stop_reason == :step
    print_file_line(context, file, line)
  end
  line_event(context, file, line)
end
at_line?() click to toggle source
# File lib/debugger/xml/ide/processor.rb, line 44
def at_line?
  !!@line
end
at_return(context, file, line) click to toggle source
# File lib/debugger/xml/ide/processor.rb, line 38
def at_return(context, file, line)
  print_file_line(context, file, line)
  context.stop_frame = -1
  line_event(context, file, line)
end
at_tracing(*args) click to toggle source

We don’t have tracing for IDE

# File lib/debugger/xml/ide/processor.rb, line 27
def at_tracing(*args)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.