From: David Corbin Date: 2005-05-24T19:39:54+09:00 Subject: Re: Ruby Debugger. Remove catchpoint? On Monday 23 May 2005 12:40 am, Assaph Mehr wrote: > Do you mean start again from the top? Yes > No way that I know of, and > considering the effort it'll take to bring everything to the state it > was before the program started (class definitions, redefinitions, > globals, threads etc) I doubt it's any better than just restarting the > debugger and setting a breakpoint. Except it's lots of typing for me. Especially if I have a lot of breakpoints. And I have a hard time leaving the debugger because of the stupid "Really quit?" (My fingers just have not learned to say Y. I find myself looping through that 2 or 3 times everytime I want to stop the debugger. > BTW, I find unit-tests plus the occasional application of breakpoint > (http://ruby-breakpoint.rubyforge.org, available as a gem) much better > than traditional debugging, both immediately and in the long run. I'm a big fan of unit tests, and I continue to strive to write better smaller ones, but I have yet to reach the 'mythical' point where a debugger is not helpful. As for breakpoint, maybe I have to adapt, but not being able to step through code is just not the same. > > HTH, > Assaph