[MacRuby] #1005: How could macrubyd be used to debug a Cocoa app?

MacRuby ruby-noreply at macosforge.org
Tue Dec 7 23:19:08 PST 2010


#1005: How could macrubyd be used to debug a Cocoa app?
------------------------------+---------------------------------------------
 Reporter:  rap@…             |       Owner:  lsansonetti@…        
     Type:  task              |      Status:  new                  
 Priority:  minor             |   Milestone:  MacRuby 1.0          
Component:  MacRuby           |    Keywords:  macrubyd             
------------------------------+---------------------------------------------

Comment(by isaackearse@…):

 OK I think that might have been a bit ambitious, I made it as far as
 debugger.cpp but suddenly got very sleepy around here:
 https://github.com/MacRuby/MacRuby/blob/trunk/debugger.cpp#L184 :)

 Any hints are welcome, but I was thinking I might try a smaller feature to
 start with.  One of the features of ruby-debug I really like it is the
 :autoeval option which behaves much like irb.  This could work by passing
 the command-line option --autoeval to macrubyd and then catching and
 evaluating any unrecognised commands here:
 https://github.com/MacRuby/MacRuby/blob/trunk/bin/rubyd#L195

 How does that sound?

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



More information about the macruby-tickets mailing list