summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-06 16:18:26 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-06 16:18:26 +0000
commitae1943bee9339e5f2c9a47cb7ac6c29de0f57bd8 (patch)
tree0e969a1b9a4df74d947801b9c39bcab83def8b7a /lib
parent5cb63654873fb7e6673a544f0cfba35378319f7f (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/debug.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index e99f69826a..3f61bc79fa 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -545,7 +545,9 @@ Commands
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