ruby-debug

URL
http://rubyforge.org/projects/ruby-debug/
Author(s)
Kent Sibilev
Summary
ruby-debug is a fast implementation of the standard Ruby debugger debug.rb. It's implemented by utilizing a new hook Ruby C API.

Add your comment ↓

Comments

ruby-debug (0.12.0) is Failing
for dinman2022 (GNU/Linux, 8 days ago)

'Failed to build native extension'

I tried to install this using something like:
gem install --user-install ruby-debug19-0.12.0.gem

This tried to write to my site's ruby include directories and failed. Subsequent attempts with different flags and the mark-mosely version failed.

Red Hat 4 32-bit.

ruby-debug (0.11.6) is Working
for Johan Persson (Mac OSX, 2 months ago)

Had trouble installing using the plain "gem install ruby-debug19". Worked when I explicitly stated the install-dir, analogous to François Montel's report.
Note: I've basically overridden the system default install, which can result in some troubled behavior.

ruby-debug is Failing
for Erwann (Windows, 6 months ago)

Both ruby-debug and ruby-debug19 failed.

Env:
Windows 7 Home 64bits
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
devkit-3.4.5r3 from http://rubyinstaller.org/

Building native extensions. This could take a while...
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.

C:/Ruby/bin/ruby.exe extconf.rb
checking for vm_core.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
C:/Ruby/lib/ruby/1.9.1/mkmf.rb:364:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:433:in `try_cpp'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:811:in `block in have_header'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:670:in `block in checking_for'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels) in postpone'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:250:in `open'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:276:in `block in postpone'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:250:in `open'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:272:in `postpone'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for'
from C:/Ruby/lib/ruby/1.9.1/mkmf.rb:810:in `have_header'
from extconf.rb:15:in `block in <main>'
from C:/Ruby/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `call'
from C:/Ruby/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `create_makefile_with
_core'
from extconf.rb:20:in `<main>'

Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection.
Results logged to C:/Ruby/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out

ruby-debug (0.11.5) is Working
for François Montel (other, about 1 year ago)

Working now on freeBSD, using the ruby-debug19 gem. (It was necessary for me to pass the install-dir to the gem. By default this gem was installing at /usr/local/lib/ruby19/gems/1.9, whereas all other gems on my system installed themselves in /usr/local/lib/ruby/gems/1.9. Running #gem install ruby-debug19 --install-dir=/usr/local/lib/ruby/gems/1.9 worked. (Thanks, Mark for the help.)

ruby-debug (0.11.5) is Working
for Mark Moseley (GNU/Linux, about 1 year ago)

gem install ruby-debug19

ruby-debug (0.11) is Failing
for Pete Nicholls (Mac OSX, about 1 year ago)

Works with the mark-moseley-ruby-debug gem (see comments below), but NOT the standard gem.

ruby-debug (0.10.3) is Failing
for Pete Nicholls (Mac OSX, about 1 year ago)

ruby-debug is Failing
for François Montel (other, about 1 year ago)

0.10.3 fails on freeBSD ("Can't handle 1.9 yet" error).

Mark Moseley's version (0.11.2) also fails (can't create Makefile). Ruby install from ports (not built from source, etc.)

ruby-debug (mark-moseley) is Working
for Roger (Windows, about 1 year ago)

just follow the instructions
http://github.com/mark-moseley/ruby-debug/tree/master

ruby-debug is Working
for Damian Janowski (Mac OSX, about 1 year ago)

Works under OSX following these steps: http://gist.github.com/159524

Thanks Mark!

ruby-debug is Failing
for Damian Janowski (Mac OSX, about 1 year ago)

Followed the steps in the GitHub wiki and I get this:

/opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/tracelines.rb:12:in `require': no such file to load -- /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/../lib/trace_nums (LoadError)
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/tracelines.rb:12:in `rescue in <module:TraceLineNumbers>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/tracelines.rb:8:in `<module:TraceLineNumbers>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/tracelines.rb:6:in `<top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/linecache.rb:63:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/linecache-0.43/lib/linecache.rb:63:in `<top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/mark-moseley-ruby-debug-base-0.11.6/lib/ruby-debug-base.rb:3:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/mark-moseley-ruby-debug-base-0.11.6/lib/ruby-debug-base.rb:3:in `<top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/ruby-debug-0.10.3/cli/ruby-debug.rb:5:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/ruby-debug-0.10.3/cli/ruby-debug.rb:5:in `<top (required)>'
from pepe.rb:1:in `require'
from pepe.rb:1:in `<main>'

ruby-debug (0.11) is Working
for Eric Promislow (GNU/Linux, about 1 year ago)

Pulled down linecache, columnize, and ruby-debug 2009-07-23, and built them. Not all tests pass, and some features are missing, but I can debug Ruby 1.9.1 with Komodo now.

ruby-debug is Working
for Mark Moseley (Windows, about 1 year ago)

I've been working on the port. Should be done this week...except for catchpoints.

ruby-debug is Failing
for Pistos (GNU/Linux, about 1 year ago)

Same as the others. Dies when trying to install linecache, which is not 1.9 ready.

ruby-debug (1.2.6) is Failing
for Mat Brown (GNU/Linux, about 1 year ago)

Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/opt/ruby-1.9.1-p129/bin/ruby extconf.rb install --no-ri --no-rdoc ruby-debug
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/ruby-1.9.1-p129/bin/ruby

Gem files will remain installed in /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems/linecache-0.43 for inspection.
Results logged to /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems/linecache-0.43/ext/gem_make.out

ruby-debug is Failing
for Ondřej Konečný (GNU/Linux, about 1 year ago)

$ gem install ruby-debug
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install ruby-debug
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby

Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/linecache-0.43 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/linecache-0.43/ext/gem_make.out

ruby-debug is Failing
for Clint Bishop (Mac OSX, about 1 year ago)

Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby1.9 extconf.rb install ruby-debug
Can't handle 1.9.x yet

Add your comment




Yes No