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

ruby-changes:21598

From: ayumin <ko1@a...>
Date: Mon, 7 Nov 2011 01:18:38 +0900 (JST)
Subject: [ruby-changes:21598] ayumin:r33647 (trunk): * lib/debug.rb: add help for 'pp' and 'r[estart]'.

ayumin	2011-11-07 01:18:26 +0900 (Mon, 07 Nov 2011)

  New Revision: 33647

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

  Log:
    * lib/debug.rb: add help for 'pp' and 'r[estart]'.

  Modified files:
    trunk/ChangeLog
    trunk/lib/debug.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33646)
+++ ChangeLog	(revision 33647)
@@ -1,3 +1,8 @@
+Mon Nov 07 01:14:22 2011  Ayumu AIZAWA  <ayumu.aizawa@g...>
+
+	* lib/debug.rb: add help for 'pp' and 'r[estart]'. patch
+	  from Sho Hashimoto. [Bug #5093] [ruby-dev:44222]
+
 Sun Nov  6 14:49:58 2011  Tanaka Akira  <akr@f...>
 
 	* ext/socket/rubysocket.h (rsock_recvmsg): declared.
Index: lib/debug.rb
===================================================================
--- lib/debug.rb	(revision 33646)
+++ lib/debug.rb	(revision 33647)
@@ -545,7 +545,9 @@
   th[read] [sw[itch]] <nnn>  switch thread context to nnn
   th[read] stop <nnn>        stop thread nnn
   th[read] resume <nnn>      resume thread nnn
+  pp expression              evaluate expression and pretty_print its value
   p expression               evaluate expression and print its value
+  r[estart]                  restart program
   h[elp]                     print this help
   <everything else>          evaluate
 EOHELP

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

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