Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jul 30, 2024
1 parent 69f1f43 commit a626574
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/datadog/di/hook_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ def hook_line_now(file, line_no, &block)
raise "Trying to use an untargeted trace point when user did not permit it"
end

if iseq
puts '------- targeted ------------'
else
puts '/////////// untargeted /////////////'
end

tp.enable(target: iseq)
end
end
Expand Down

0 comments on commit a626574

Please sign in to comment.