Giter VIP home page Giter VIP logo

Comments (7)

cldwalker avatar cldwalker commented on May 28, 2024

It seems you're running ruby extconf.rb not having installed debugger's dependencies. You'll need to install debugger-ruby_core_source among others. Doing that should fix these issues.

from debugger.

ericpromislow avatar ericpromislow commented on May 28, 2024

Are there recommended commands for installing the dependencies? I'm all for a self-contained gem; I
had this same problem with Mark's ruby-debug-base, dealing with linecache, tracenums, ruby-core-source,
and columnize.

I logged a new bug (11 I think), but it's a dup of bug 1 -- I cobbled together a fix by pointing at all the
dependencies in different existing working ruby debugger directories, and got the same stack trace
that's in bug 1.

from debugger.

cldwalker avatar cldwalker commented on May 28, 2024

I'm not sure I understand what environment you're running in. If you gem install debugger, you'll get the dependencies. Are you git cloning debugger and then running ruby extconf.rb? If you are, then you'll need to add steps to automate downloading and using its dependencies. debugger.gemspec lists the necessary dependencies.

from debugger.

cldwalker avatar cldwalker commented on May 28, 2024

As for bug 1, it's a known issue, patches welcome :)

from debugger.

ericpromislow avatar ericpromislow commented on May 28, 2024

I reinstalled the gems following http://stackoverflow.com/a/9056783

The binary gem builds this time without any interference. May I suggest
that you decouple ruby-debug-base from the rest of the gem? Plenty
of us debugger-writers are using ruby-debug-base but not the other parts.

from debugger.

cldwalker avatar cldwalker commented on May 28, 2024

I don't understand why you used the stackoverflow link when I said gem install debugger. That link refers to the original ruby-debug19 which is a different project.

I'm open to making ruby-debug-base available but I need to understand your use case. If you require ruby-debug-base you don't load anything from the rest of ruby-debug. As for dependencies, ruby-debug-base still depends on debugger-linecache and debugger-ruby_core_source. I need compelling reason beyond not wanting to download columnize.

from debugger.

cldwalker avatar cldwalker commented on May 28, 2024

Ok. If you're using debugger to build these different versions, note that it only works for 1.9.2 and 1.9.3. I don't see any blockers on using ruby-debug-base if you're manually building debugger and its dependencies.

I don't know when Debugger.start got renamed, must have happened before I forked.

from debugger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.