Project

General

Profile

Feature #10932

Enabling allocation tracing as early as possible

Added by tenderlovemaking (Aaron Patterson) about 6 years ago. Updated over 5 years ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:68397]

Description

Hi,

I'd like to be able to enable allocation tracing as early as possible. I've attached a patch that I use to do that when I'm debugging code that I don't know very well.

The way I use it is like this:

$ ruby -robjspace/trace_start some_test.rb

I like using this because many times I can't figure out when to enable object tracing. Can we add this feature to object space?


Files

trace_start.diff (305 Bytes) trace_start.diff tenderlovemaking (Aaron Patterson), 03/03/2015 07:53 PM

Also available in: Atom PDF