Project

General

Profile

ActionsLike0

Bug #14889

closed

TracePoint for :line never seems to trigger on argument list. Maybe by design?

Added by ioquatix (Samuel Williams) almost 7 years ago. Updated almost 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:87729]

Description

I have the following code.

  30  1|		def print_summary(
  31  0|			output = $stdout
  32   |		)

In the margin is the line number followed by the number of hits according to :line trace point.

I feel like line 31 should also trigger a line trace point. It's an argument, but it must be executed.

Maybe a different trace point? :argument?


Related issues 1 (0 open1 closed)

Related to Ruby - Bug #15634: TracePoint seems to be skipping some methods.ClosedActions
#4

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago

  • Related to Bug #15634: TracePoint seems to be skipping some methods. added
#6

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago

  • Status changed from Open to Closed
ActionsLike0

Also available in: Atom PDF