How to debug on OS X?

Ruby tends to crash frequently on OS X during debugging. What is the best thing to do in that case? Just install a newer version of ruby through ports?

/Library/Ruby/Gems/1.8/gems/ruby-debug-ide-0.4.4/lib/ruby-debug/xml_printer.rb:106: [BUG] Segmentation fault

ruby 1.8.6 (2008-03-03) [universal-darwin9.0]

Thanks,
Dirk



3 comments
Comment actions Permalink

Hello Dirk,

Ruby tends to crash frequently on OS X during debugging. What is the best thing to do in that case? Just install a newer version of ruby through ports?


/Library/Ruby/Gems/1.8/gems/ruby-debug-ide-0.4.4/lib/ruby-debug/xml_printer.rb:106: [BUG] Segmentation fault

ruby 1.8.6 (2008-03-03) [universal-darwin9.0]


It seems it`s a ruby-debug internal error. I`ve faced with the same problem on Windows Vista.
Filed an issue: http://rubyforge.org/tracker/index.php?func=detail&aid=24415&group_id=1900&atid=7436

Thanks,
Oleg

0
Comment actions Permalink

The weird thing is that sometimes adding an additional breakpoint seems to help. But this is a very annoying problem!

0
Comment actions Permalink

I use ruby-debug-ide v0.4.0, it is stable.


* ruby-debug (0.10.2)
* ruby-debug-base (0.10.2)
* ruby-debug-ide (0.4.0)



0

Please sign in to leave a comment.