Method: AppMap::Tracer#initialize
- Defined in:
- lib/appmap/trace.rb
#initialize(thread_id: nil) ⇒ Tracer
Records the events which happen in a program.
136 137 138 139 140 141 142 143 |
# File 'lib/appmap/trace.rb', line 136 def initialize(thread_id: nil) @events = [] @last_package_for_thread = {} @methods = Set.new @stack_printer = StackPrinter.new if StackPrinter.enabled? @enabled = false @thread_id = thread_id end |