From: Seth Kurtzberg Date: 2003-03-14T03:53:20+09:00 Subject: Re: Rubuy 1.8.0 preview2 debug doesn't stop at breakpoints this is fixed in the snapshot 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