From: Bill Atkins Date: 2004-10-08T04:46:28+09:00 Subject: Re: [ANN] dev-utils v1.0 Wow, breakpoint looks _really_ useful. I await RPA-ification. Bill On Fri, 8 Oct 2004 03:40:34 +0900, Gavin Sinclair wrote: > Hi all, > > It's with great relief that I finally release dev-utils 1.0. Never > have I put so much effort into a project with so little code. (That's > because the effort was wasted on documentation...) > > It's gem-only at the moment. Within a few days, I'll release 1.0.1 > complete with tarball, and see its way clear to the RPA. For now, > though, it's 4am and I'm off to bed. > > BTW, it depends on newly-released extensions-0.5. I'll be in touch, > Mauricio :) > > Cheers, > Gavin > > About dev-utils: > > With dev-utils/debug you can: > > * Escape to an IRB session from a running program. > > breakpoint > breakpoint 'Person#name' # Identify it when it happens. > breakpoint { @name } # Default return value. > > * Access a no-config logfile for debugging. > > debug 'Database connection established' # Look in ./debug.log > > * Trace expressions in that logfile. > > trace 'x + y' > trace 'Process.pid' > trace 'names', :pp # Pretty-print. > trace 'page_structure', :yaml # YAML representation. > > Home page: http://dev-utils.rubyforge.org > Project page: http://rubyforge.org/projects/dev-utils > Download: http://rubyforge.org/frs/?group_id=270 > API Documentation: http://dev-utils.rubyforge.org/api > >