Project

General

Profile

Actions

Bug #16834

closed

rb_profile_frame_classpath only recognize class singleton methods, not module singleton methods

Added by byroot (Jean Boussier) almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.5p157 ruby 2.6.6p146 ruby 2.8.0dev
[ruby-core:98154]

Description

Proposed patch: https://github.com/ruby/ruby/pull/3084

Right now SomeClass.method is properly named, but SomeModule.method
is displayed as #<Module:0x000055eb5d95adc8>.method which makes
profiling annoying.

This particularly impact StackProf.

it's a problem at least since Ruby 2.5, maybe older but there's not point backporting that far back.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0