mark-moseley / linecache

GNU General Public License v2.0
29 stars 20 forks source link

Method definition output as valid trace line #2

Closed mark-moseley closed 15 years ago

mark-moseley commented 15 years ago

See http://github.com/mark-moseley/ruby-debug/issues#issue/2

The "def foo" line number shouldn't be returned. It's not possible to break on it when the method is called.

mark-moseley commented 15 years ago

wrong. Add check_breakpoints_by pos() in RUBY_EVENT_CALL switch after the check_breakpoints_by_method()