lib/appmap/trace.rb
# Record a program execution event.
#
# The event should be one of the MethodEvent subclasses.
Record a program execution event.
The event should be one of the MethodEvent subclasses.
Record a program execution event . The event should be one of the MethodEvent subclasses .
def record_event(event, package: nil, defined_class: nil, method: nil)
      return unless @enabled
      @events << event
      @methods << Trace::ScopedMethod.new(package, defined_class, method, event.static) \
        if package && defined_class && method && (event.event == :call)
    end
def record_event ( event , package : nil , defined_class : nil , method : nil ) return unless @enabled @events << event @methods << Trace :: ScopedMethod . new ( package , defined_class , method , event . static ) if package && defined_class && method && ( event . event == :call ) end
Record a program execution event.
Record a program execution event .
event
<not_specific>
package
<not_specific>
defined_class
<not_specific>
method
<not_specific>