lib/appmap/hook/method.rb in appmap-0.83.6 vs lib/appmap/hook/method.rb in appmap-0.84.0

- old
+ new

@@ -81,10 +81,10 @@ def gettime Process.clock_gettime Process::CLOCK_MONOTONIC end def trace? - return false unless AppMap.tracing.enabled? + return false unless AppMap.tracing_enabled? return false if Thread.current[HOOK_DISABLE_KEY] return false if hook_package&.shallow? && AppMap.tracing.last_package_for_current_thread == hook_package true end