From: _ wanabe Date: 2008-12-26T16:54:34+09:00 Subject: [ruby-core:20880] [Bug #847] debug.rb reports extraneous information Issue #847 has been updated by _ wanabe. I suppose that set_trace_func should be completely final task in debug.rb. How about this? Index: lib/debug.rb =================================================================== --- lib/debug.rb (revision 21058) +++ lib/debug.rb (working copy) @@ -898,10 +898,10 @@ stdout.printf "Debug.rb\n" stdout.printf "Emacs support available.\n\n" +RubyVM::InstructionSequence.compile_option = { + trace_instruction: true +} set_trace_func proc { |event, file, line, id, binding, klass, *rest| DEBUGGER__.context.trace_func event, file, line, id, binding, klass } -RubyVM::InstructionSequence.compile_option = { - trace_instruction: true -} end ---------------------------------------- http://redmine.ruby-lang.org/issues/show/847 ---------------------------------------- http://redmine.ruby-lang.org