From: Roger Pack Date: 2009-10-27T06:34:36+09:00 Subject: [ruby-core:26338] Re: [Feature #2260] better access with GC_DEBUG > |Since the information is already there with the "-DGC_DEBUG=1" flag, it should be possible. > |I'd be happy to give it a shot if it would be useful. > | > |Thoughts? > > But most compilation is done without GC_DEBUG turned on. �I am not > positive about the method that only available on specific compilation > condition. > > � � � � � � � � � � � � � � � � � � � � � � � � � � � �matz. True. I am looking for a tool to help users with memory leaks ("on which line?") Any thoughts? Perhaps it could be something like RubyVM.source(object) or even a Debug class Debug.describe( object ) so that users know it is only a special method? Thoughts? -r