Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit ae1943bee9339e5f2c9a47cb7ac6c29de0f57bd8 1 parent 5cb6365
Ayumu AIZAWA authored November 06, 2011

Showing 2 changed files with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  ChangeLog
  2. 2  lib/debug.rb
5  ChangeLog
... ...
@@ -1,3 +1,8 @@
  1
+Mon Nov 07 01:14:22 2011  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>
  2
+
  3
+	* lib/debug.rb: add help for 'pp' and 'r[estart]'. patch
  4
+	  from Sho Hashimoto. [Bug #5093] [ruby-dev:44222]
  5
+
1 6
 Sun Nov  6 14:49:58 2011  Tanaka Akira  <akr@fsij.org>
2 7
 
3 8
 	* ext/socket/rubysocket.h (rsock_recvmsg): declared.
2  lib/debug.rb
@@ -545,7 +545,9 @@ def debug_print_help
545 545
   th[read] [sw[itch]] <nnn>  switch thread context to nnn
546 546
   th[read] stop <nnn>        stop thread nnn
547 547
   th[read] resume <nnn>      resume thread nnn
  548
+  pp expression              evaluate expression and pretty_print its value
548 549
   p expression               evaluate expression and print its value
  550
+  r[estart]                  restart program
549 551
   h[elp]                     print this help
550 552
   <everything else>          evaluate
551 553
 EOHELP

0 notes on commit ae1943b

Please sign in to comment.
Something went wrong with that request. Please try again.