ruby-breakpoint, while currently unmaintained, does (did?) just that.

http://rubyforge.org/projects/ruby-breakpoint

martin

On Tue, Jun 3, 2008 at 10:04 AM, Junkone <junkone1 / gmail.com> wrote:
> how do i invoke the irb during the execution of my code.
> for eg
> require "watir"
>   ie = Watir::IE.start( url)
> invoke irb so that i can inspect the ie and use the ie object
> interactively.
>
> Appreciate any help.
> seede
>
>