From: samuel@... Date: 2019-03-04T09:56:38+00:00 Subject: [ruby-core:91659] [Ruby trunk Bug#15634] TracePoint seems to be skipping some methods. Issue #15634 has been reported by ioquatix (Samuel Williams). ---------------------------------------- Bug #15634: TracePoint seems to be skipping some methods. https://bugs.ruby-lang.org/issues/15634 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.1 * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- ```ruby trace_point = TracePoint.new(:call, :return, :line, :c_call, :c_return, :b_call, :b_return) do |trace| puts [trace.path, trace.lineno].join(":") end trace_point.enable values = {foo: 10} def shell_escape(x) x end values.map{|key, value| [ key.to_s.upcase, shell_escape(value) # TracePoint is never triggered for this line. ]} ``` -- https://bugs.ruby-lang.org/ Unsubscribe: