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

ruby-changes:10027

From: ko1 <ko1@a...>
Date: Fri, 16 Jan 2009 01:00:28 +0900 (JST)
Subject: [ruby-changes:10027] Ruby:r21570 (trunk): * lib/debug.rb: as wanabe-san pointed out,

ko1	2009-01-16 00:59:59 +0900 (Fri, 16 Jan 2009)

  New Revision: 21570

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

  Log:
    * 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:
    trunk/ChangeLog
    trunk/lib/debug.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21569)
+++ ChangeLog	(revision 21570)
@@ -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: lib/debug.rb
===================================================================
--- lib/debug.rb	(revision 21569)
+++ lib/debug.rb	(revision 21570)
@@ -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/

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