From: Phlip Date: 2009-04-21T01:35:04+09:00 Subject: Re: debugging in ruby Urabe Shyouhei wrote: > Phlip wrote: > >> Briefly, if you write unit tests, you should not need to debug. > > Oh yes you should. A test never debug; it just point out there are bugs. To > remove them is still your job. If you use Test-Driven Development, you have the option to use Undo until the bug goes away. Try it; you will see what I mean. On a big project, you might still sometimes need to debug. I have always used pp for trace statements, out of selected tests. Running them over and over again works so similar to debugging that you won't miss it. However, someone here will have experience with the Ruby debugger and can answer your actual question. Any port in a storm!