From: deivid.rodriguez@... Date: 2014-11-28T13:33:52+00:00 Subject: [ruby-core:66553] [ruby-trunk - Bug #10148] [TracePoint API] Extra block events generated Issue #10148 has been updated by David Rodr��guez. I will, soon! ---------------------------------------- Bug #10148: [TracePoint API] Extra block events generated https://bugs.ruby-lang.org/issues/10148#change-50167 * Author: David Rodr��guez * Status: Assigned * Priority: Normal * Assignee: Koichi Sasada * Category: core * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0dev (2014-08-19 trunk 47220) [i686-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- In the same example from #9759 (which I attach here to provide a failing test), there is a couple of b_call/b_return events that I don't think should get generated. I pointed that out in this comment: https://bugs.ruby-lang.org/issues/9759#note-1 This couple of events are not present in ruby's backtrace and sometimes they have a nil method_id which was making byebug crash as I was not expecting that. I haven't been able to reproduce this nil method_id thing in a toy program but in any case I think the proper solution to this would be not to generate these events. Thanks!! ---Files-------------------------------- test_extra_b_call_and_b_return_events.rb (1.37 KB) -- https://bugs.ruby-lang.org/