From: Assaph Mehr Date: 2005-05-23T13:40:16+09:00 Subject: Re: Ruby Debugger. Remove catchpoint? David Corbin wrote: > Is there someway to remove a catchpoint while in the debugger? Better yet, is > there a way to fix it so it doesn't default to catching StandardError? Use 'catch off' > P.S. what about a way to restart the "program under debug", without restarting > the debugger? Do you mean start again from the top? 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. 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. HTH, Assaph