From: Tom Cloyd Date: 2008-04-17T10:51:08+09:00 Subject: Re: ruby execution Victor Reyes wrote: > But, is there a way to "debug" just within a particular method? That way one > can skip the rest of the code, which we know "works" fine. [snip] Sure. Having recently learned the wonders of ruby-debug, I can tell you this: you can set a breakpoint in the method, then step through it from that point on, examining variables (and doing a lot of other useful things) to your hearts content. When ready, you can resume regular execution. Very nicely set up, I think you'll find. And...it's all command line stuff. t. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc@tomcloyd.com >> (email) << TomCloyd.com >> (website & psychotherapy weblog) << sleightmind.wordpress.com >> (mental health issues weblog) << directpathdesign.com >> (web site design & consultation) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~