summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
commitc345257ff6c1e913125739545a40cc1b60b62611 (patch)
tree410afef9741dff97642c267ece942d7cfeeab0f6 /lib
parent37282fa5b083375cab6780824a8941c459b59ebe (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/debug.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index f8c0e4e..feb30c7 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -452,7 +452,8 @@ class DEBUGGER__
print <<EOHELP
Debugger help v.-0.002b
Commands
- b[reak] [file or method:]<line> set breakpoint to some position
+ b[reak] [file|method:]<line|method>
+ set breakpoint to some position
wat[ch] <expression> set watchpoint to some expression
b[reak] list breakpoints
del[ele][ nnn] delete some or all breakpoints
@@ -475,7 +476,7 @@ Commands
v[ar] i[nstance] <object> show instance variables of object
v[ar] c[onst] <object> show constants of object
m[ethod] i[nstance] <obj> show methods of object
- m[ethod] <class or module> show instance methods of class or module
+ m[ethod] <class|module> show instance methods of class or module
th[read] l[ist] list all threads
th[read] c[ur[rent]] show current threads
th[read] <nnn> stop thread nnn