#404: Segfault with ObjectSpace#each_object
---------------------------------------+------------------------------------
 Reporter:  keith.gautre...@…          |       Owner:  lsansone...@…        
     Type:  defect                     |      Status:  new                  
 Priority:  blocker                    |   Milestone:  MacRuby 0.5          
Component:  MacRuby                    |    Keywords:  objectspace segfault 
---------------------------------------+------------------------------------

Comment(by lsansone...@…):

 The problem is in #inspect actually, ObjectSpace exposes *all* objects
 even obscure Cocoa internal objects as well as not-inspectable CF
 subclasses.

 The following should work for instance.

 {{{
 $ macruby -e "ObjectSpace.each_object { |o| p o.class }"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/404#comment:2>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to