You want the file name plus the class name plus dot plus the method? Interesting totally undocumented feature. :) On Wednesday 26 February 2003 02:03 am, NAKAMURA, Hiroshi wrote: > Hi, > > > From: Seth Kurtzberg [mailto:seth / cql.com] > > Sent: Wednesday, February 26, 2003 5:26 PM > > > > It accepts it. But nothing happens (that is, it doesn't > > actually set a > > breakpoint at the desired location). With 1.8, at least. > > nakahiro@RUBY ~/test > $ cat foo.rb > module Foo > class Bar > def self.baz; end > end > end > > Foo::Bar.baz > > nakahiro@RUBY ~/test > $ ruby -rdebug foo.rb > Debug.rb > Emacs support available. > > foo.rb:1:module Foo > (rdb:1) break Foo::Bar:baz > Set breakpoint 1 at Foo::Bar:baz > (rdb:1) cont > Breakpoint 1, baz at Foo::Bar:baz > foo.rb:3: def self.baz; end > (rdb:1) finish > > nakahiro@RUBY ~/test > $ > > You may be setting bp with 'Bar:baz', not 'Foo::Bar:baz'? > > Regards, > // NaHi -- Seth Kurtzberg M. I. S. Corp. 480-661-1849 seth / cql.com