From: "NAKAMURA, Hiroshi" Date: 2003-02-26T15:04:29+09:00 Subject: Re: Debugger Not Working Hi, Seth, > From: Seth Kurtzberg [mailto:seth@cql.com] > Sent: Wednesday, February 26, 2003 12:40 PM > It is working now with line numbers. What is the syntax for > breaking at a method? Does "(filename:)method_name" not work for you? nakahiro@RUBY ~/test $ cat foo.rb def foo bar end def bar :bar end p foo nakahiro@RUBY ~/test $ ruby -rdebug foo.rb Debug.rb Emacs support available. foo.rb:1:def foo (rdb:1) break ../test/foo.rb:foo Set breakpoint 1 at foo.rb:foo (rdb:1) break bar Set breakpoint 2 at foo.rb:bar (rdb:1) cont Breakpoint 1, foo at foo.rb:foo foo.rb:1:def foo (rdb:1) cont Breakpoint 2, bar at foo.rb:bar foo.rb:5:def bar (rdb:1) finish :bar nakahiro@RUBY ~/test $ Regards, // NaHi