From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 8060920248 for ; Mon, 4 Mar 2019 09:56:47 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 0E83B1214CF; Mon, 4 Mar 2019 18:56:43 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id D58CA12122D for ; Mon, 4 Mar 2019 18:56:39 +0900 (JST) Received: by filter0014p3iad2.sendgrid.net with SMTP id filter0014p3iad2-17512-5C7CF656-18 2019-03-04 09:56:38.425958144 +0000 UTC m=+296182.052863991 Received: from herokuapp.com (unknown [34.229.211.113]) by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id 8rgDQWo-S8WoCskLL0bM3Q for ; Mon, 04 Mar 2019 09:56:38.380 +0000 (UTC) Date: Mon, 04 Mar 2019 09:56:38 +0000 (UTC) From: samuel@oriontransfer.net Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67109 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15634 X-Redmine-Issue-Author: ioquatix X-Redmine-Sender: ioquatix X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?cjxb6GWHefMLoR50bkJBcGo6DRiDl=2FNYcMZdY+Wj30QO=2FQoh0OD1yxZnC6DReM?= =?us-ascii?Q?URn9XjiTLnTiDeovKjh5I6+XB9y72S8MA4Jj5J0?= =?us-ascii?Q?CAzeOh92eZIr9aPQbZQdkVO=2FqXbJPgCyw=2FYMGUj?= =?us-ascii?Q?rKBUWyRntRhWFMc3qaQcbiqC6XfYfviN3+CLySs?= =?us-ascii?Q?PK3nN1V3OJ2qODs+eUFhzQv4dV2jTiRYEwQ=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 91659 Subject: [ruby-core:91659] [Ruby trunk Bug#15634] TracePoint seems to be skipping some methods. X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/