> $ rdebug r2test.rb
> /Users/me/2testing/dir1/r2test.rb:1
> require 'rubygems'
> 
> (rdb:1) break A.show
> *** Unknown class A.
>
It is normal. Because class A is not defined at this point yet. In case 
when rdebug is lauched, it stops at the first line. But it is possible 
to set break at any line of source by line number.

But why ruby-debug does not stop at class-methods when class is already 
loaded, though it stops at instance-methods?
-- 
Posted via http://www.ruby-forum.com/.