On Fri, Mar 14, 2003 at 03:53:20AM +0900, Seth Kurtzberg wrote:
> this is fixed in the snapshot

Unfortunately, not in the 2003-03-12 snapshot on Solaris 2.6 :(

   $ ruby -v
   ruby 1.8.0 (2003-03-12) [sparc-solaris2.6]

Compiled with gcc-3.2.1

Jeff.

> 
> On Thursday 13 March 2003 11:42 am, Jeff Putsch wrote:
> > Howdy,
> >
> > I'm using Ruby 1.8.0 preview2 and the 'debug' module does not stop at
> > breakpoints.
> >
> >    OS: Solaris 2.6 & 8 (ruby built on Solaris 2.6)
> >    CC: gcc-3.2.1
> >  Ruby: 1.8.0 preview2 with 'supplementation'
> >
> > Here is a sample source file and debugging session:
> >
> >   --- source (/tmp/foo.rb) ---
> >   #!/usr/sepp/bin/ruby-1.6.8preview2
> >   #
> >   p 1
> >   p 2
> >   p 3
> >   p 4
> >   p 5
> >
> >   exit 0
> >
> >   --- debugging session ---
> >   /usr/sepp/bin/ruby-1.8.0preview2 -r debug /tmp/foo.rb
> >   Debug.rb
> >   Emacs support available.
> >
> >   /tmp/foo.rb:3:p 1
> >   (rdb:1) l
> >   [-2, 7] in /tmp/foo.rb
> >      1
> >      2  #
> >   => 3  p 1
> >      4  p 2
> >      5  p 3
> >      6  p 4
> >      7  p 5
> >   (rdb:1) b 5
> >   Set breakpoint 1 at foo.rb:5
> >   (rdb:1) c
> >   1
> >   2
> >   3
> >   4
> >   5
> >
> > As you can see the debugger failed to stop at the breakpoint I set.
> >
> > Any help/guidance will be greatly appreciated.
> >
> > Thanks,
> >
> > Jeff.
> 
> -- 
> Seth Kurtzberg
> M. I. S. Corp.
> 480-661-1849
> seth / cql.com
> 

-- 
Jeff Putsch                       Email: putsch / mxim.com
Maxim Integrated Products        Office: (503)547-2037
High Frequency CAD Engineering