Flowdock
trace_func(event, file, line, id, binding, klass, *) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/tracer.rb, line 113
  def trace_func(event, file, line, id, binding, klass, *)
    return if file == __FILE__
    
    for p in @filters
      return unless p.call event, file, line, id, binding, klass
    end
    
    # saved_crit = Thread.critical
    # Thread.critical = true
    stdout.printf("#%d:%s:%d:%s:%s: %s",
      get_thread_no,
      file,
      line,
      klass || '',
      EVENT_SYMBOL[event],
      line == 0 ? "?\n" : get_line(file, line))
    # Thread.critical = saved_crit
  end
Register or log in to add new notes.