From: deivid.rodriguez@... Date: 2015-01-20T13:22:37+00:00 Subject: [ruby-core:67698] [ruby-trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem Issue #10724 has been updated by David Rodr��guez. File test_for_issue_10724.rb added Hi again, I've been able to reduce this to the following minimal program which misses the `return` event for the `initialize` call. Attaching a failing test case. class A def initialize loop { return } end end A.new Thanks!! ---------------------------------------- Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem https://bugs.ruby-lang.org/issues/10724#change-51135 * Author: David Rodr��guez * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-01-09 trunk 49194) [i686-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method when instantiating a DomainName object. I attach a failing test case. Thanks!! ---Files-------------------------------- test_tracepoint_with_domain_name.rb (896 Bytes) test_for_issue_10724.rb (726 Bytes) -- https://bugs.ruby-lang.org/