From ed8447821575d4a6a64b813579d9cea1078d478c Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 15 Jan 2009 16:32:59 +0000 Subject: merges r21570 from trunk into ruby_1_9_1. * lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/debug.rb') diff --git a/lib/debug.rb b/lib/debug.rb index 77be345a07..7bb1450198 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -898,10 +898,10 @@ end stdout.printf "Debug.rb\n" stdout.printf "Emacs support available.\n\n" -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 } +set_trace_func proc { |event, file, line, id, binding, klass, *rest| + DEBUGGER__.context.trace_func event, file, line, id, binding, klass +} end -- cgit v1.2.3