lib/appmap/hook/method.rb in appmap-0.41.1 vs lib/appmap/hook/method.rb in appmap-0.41.2
- old
+ new
@@ -33,10 +33,10 @@
msg = if method_display_name
"#{method_display_name}"
else
"#{hook_method.name} (class resolution deferred)"
end
- warn "AppMap: Hooking " + msg
+ warn "AppMap: Hooking #{msg} at line #{(hook_method.source_location || []).join(':')}"
end
defined_class = @defined_class
hook_package = self.hook_package
hook_method = self.hook_method