From: mathew
Date: 2005-09-07T05:01:28+09:00
Subject: Re: [ANN] Ruby Debugging Article at IBM Developerworks
pat eyler wrote:
> http://www-128.ibm.com/developerworks/edu/os-dw-os-distruby-i.html
>
> The next article is up. (www.bugmenot.com if you don't want to register)
>
> I'm always interested in feedback, if anyone wants to share.
Something I always want to do is trigger the debugger from the program code.
That is, if I have the source file open in my editor, I'd like to be
able to write something like
trigger_debugger if $DEBUG
at various points in the source, and then run the program with Ruby in
debug mode and have the debugger drop open at the right place. Much
easier than having to set all the breakpoints manually in the debugger.
I'm fairly sure I once read how to do that, but I've been unable to
relocate the information...
Similarly, it would be really useful to be able to start watching
variables from the program code.
mathew
--
WE HAVE TACOS