debugger pickaxe vs vs 186-26
Wes Rishel
1 post
|
The first time I tried to use the debugger was in 186 and I am seeing something different than in v2 of the book on page 163. Or perhaps I am doing something wrong. In the book it appears that when you run with the debugger option, such as this
you end up with the debugger looking at the source file (e.g., t.rb). However, when I run it I end up in some Ruby module: ruby.exe -r debug t.rb The work-around seems pretty simple: set a breakpoint in your own file and type C, as below. I thought you might want to know, in order to update the book. (rdb:1) b t.rb:3 |
1 post, 1 voice
