From: Markus Fischer Date: 2010-09-23T23:18:15+09:00 Subject: Re: Confused about 1.9.1 and ruby-debug19 On 23.09.2010 05:41, Roger Pack wrote: >> ruby_debug.c: In function ‘ruby_method_ptr’: >> ruby_debug.c:141: error: ‘rb_method_entry_t’ undeclared (first use in >> this function) > > I think there was some change in later patch levels of 1.9.1 that made > this variable non global, so ruby-debug gem is broken there. > > >> Now I'm a bit confused. 1.9.1 has some kind of debugging out of the box, >> but there's also a gem which seems to target 1.9 which doesn't work? > > http://en.wikibooks.org/wiki/Ruby_Programming/Standard_Library/Debugger > should help clarify. You could also use 1.9.2 which works with the > ruby-debug19 gem. I now realized why I'm confused: because I found I had installed 1.9.1 on some machine and I've installed ruby-debug19 there along with ruby-debug-base19. This is 1.9.1p387 with ruby-debug-base19 (0.11.23) and ruby-debug19 (0.11.6) . Now I see the current version of ruby-debug-base19 is now at 0.11.24, and that's actually the package which doesn't work anymore. Is this a bug I should report? For some strange reason on the ruby-debug page on githib there's no "Issue" tab ... Thanks for the useful link, - Markus