From: Tom Cloyd Date: 2008-04-10T05:39:50+09:00 Subject: Re: Ruby Debugger Sam Rudd wrote: > Thank you, I'm now looking into ZenTest. > > On Wed, Apr 9, 2008 at 12:14 AM, Phillip Gawlowski < > cmdjackryan@googlemail.com> wrote: > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Sam Rudd wrote: >> | Before I start I'd like to say how happy I am for finding this forum, >> | and the mailing list. I'm very glad to find like-minded Ruby enthusiasts >> | like you guys! >> | >> | Right, as you can see from the link below, I have a custom-made IDE, but >> | it's got a blank box that I'd like to fill with a debugging tool, but I >> | can't find one. I've searched google, but still can't find one that >> | provides debugging and a runtime debug log. Does anyone know of/use such >> | a tool, and can provide me a link? >> >> >> While not technically a debugger, you could run autotest in that spot. >> (ZenTest is the gem providing it, IIRC). >> >> IME, tests and the Ruby stack trace (once you know where to look at), >> together with liberally sprinkled puts statements is more useful than a >> debugger. >> >> YMMV, though. >> >> - -- >> Phillip Gawlowski >> Twitter: twitter.com/cynicalryan >> >> ~ My behaviour is addictive functioning in a disease process of toxic >> co-dependency. I need holistic healing and wellness before I'll accept >> any responsibility for my actions. -- Calvin >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.8 (MingW32) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >> iEYEARECAAYFAkf7/HQACgkQbtAgaoJTgL9TgACfZjkPVFddZN0i/FeNw7n+o90f >> 4X0An2rD5xbyKNUQWTrqwv4mKp71Pdf5 >> =hiJA >> -----END PGP SIGNATURE----- >> >> >> > > I think you really also ought to look hard at ruby-debug. It's extremely useful, in my estimation. Zentest isn't quite the same approach to coding errors, of course, but is still outstanding. Finally, as a third, and possibly best approach of all, do check out rspec.rubyforge.org. I'm exploring all of these currently, and finding them all very much worth my time. Tom -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~