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 114
  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],
      get_line(file, line))
    Thread.critical = saved_crit
  end
Register or log in to add new notes.