% ruby -rdebug test-rdb
Debug.rb
Emacs support available.
test-rdb:4:class WordDictionary
(rdb:1) where
--> #1 test-rdb:4
(rdb:1) n
test-rdb:29:dictionary = WordDictionary.new
(rdb:1) s
test-rdb:6: return unless FileTest.file?(path)
(rdb:1) where
--> #1 test-rdb:6:in `initialize'
(rdb:1) up
(rdb:1) up
At toplevel
(rdb:1) l 29
[24, 33] in test-rdb
24 end
25 results
26 end
27 end
28
=> 29 dictionary = WordDictionary.new
30 p dictionary.findWord("shovel")
(rdb:1) n
test-rdb:30:p dictionary.findWord("shovel")
(rdb:1)