Thanks,
Tom
Maybe because you can always type 'irb' once you hit a breakpoint or
are somehow in the ruby-debug console. You get a full irb with all the
environment you had up to that point whee you stopped. 'exit' takes
you back to (rdb:1) where you can set breakpoints, examine stuff look
at the stack frame and continue.
Ed
>
> Thanks,
> Tom
>
>
> >
>
--
Ed Howland
http://greenprogrammer.blogspot.com
"The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers."
What I do however use is "set autoeval" which instructs the debugger
to text that isn't a debugger command like a Ruby expression. I put
this in my .rdebugrc to have this turned on by default. In the current
version in svn, .rdebugrc is also read via Debugger.debugger. Also the
current version in svn, those "set" commands are more gdb-like, so you
can say "set autoeval on" or "set autoeval off" and "show autoeval"
and get output in the format more or less as you would in gdb.
I've started a manual for the version of ruby-debug that's in svn and
can be found at http://bashdb.sf.net/ruby-debug.html However since
there are a number of changes in the svn, I'm not sure how useful it
is for the last released version.
On Aug 20, 7:22 pm, "Tom Rossi" <t...@themolehill.com> wrote:
> Excellent! THANKS!
>
-bakki