[前][次][番号順一覧][スレッド一覧]

ruby-changes:10032

From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 01:33:35 +0900 (JST)
Subject: [ruby-changes:10032] Ruby:r21575 (ruby_1_9_1): merges r21570 from trunk into ruby_1_9_1.

yugui	2009-01-16 01:32:59 +0900 (Fri, 16 Jan 2009)

  New Revision: 21575

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21575

  Log:
    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]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/lib/debug.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21574)
+++ ruby_1_9_1/ChangeLog	(revision 21575)
@@ -1,3 +1,9 @@
+Fri Jan 16 00:57:34 2009  Koichi Sasada  <ko1@a...>
+
+	* lib/debug.rb: as wanabe-san pointed out,
+	  set_trace_func should be completely final task in debug.rb.
+	  Bug #847 [ruby-core:20449]
+
 Fri Jan 16 00:27:03 2009  Koichi Sasada  <ko1@a...>
 
 	* vm.c (rb_vm_inc_const_missing_count, ruby_vm_const_missing_count): 
Index: ruby_1_9_1/lib/debug.rb
===================================================================
--- ruby_1_9_1/lib/debug.rb	(revision 21574)
+++ ruby_1_9_1/lib/debug.rb	(revision 21575)
@@ -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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]