Is it possible to have breakpoint open the IRB session within a
particular object?

require 'dev-utils/debug'

a = [1, 2, 3]
breakpoint a
>>self.class
Array

Bill

On Wed, 13 Oct 2004 00:09:14 +0900, Gavin Sinclair
<gsinclair / soyabean.com.au> wrote:
> Hi folks,
> 
> This is a very minor update on dev-utils v1.0, released last week.
> There are a couple of documentation updates, but the only important
> difference is a tarball for installation.
> 
>   http://rubyforge.org/frs/download.php/1678/dev-utils-1.0.1.tgz
> 
> 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
> 
>