From: Roger Pack Date: 2009-11-11T00:53:01+09:00 Subject: [ruby-core:26667] [Feature #578] add method to disassemble Proc objects Issue #578 has been updated by Roger Pack. The fact that we can get backtraces from the VM easily almost makes me wonder if the following API is possible: Thread#backtrace_with_bindings => [[file, line, method, [[:arg1_name, current_value], [:arg2_name, current_value]] or [[file, line, method, binding]] # so you can lookup argument values if so desired mostly inspired by http://barelyenough.org/blog/2005/04/ruby-backtraces/ -- not sure if it's actually necessary/high priority since you can get somewhat higher quality backtraces using ruby-debug already (http://github.com/rdp/backtracer) Thoughts? -r ---------------------------------------- http://redmine.ruby-lang.org/issues/show/578 ---------------------------------------- http://redmine.ruby-lang.org