Comments (7)
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.
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.
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.
As for bug 1, it's a known issue, patches welcome :)
from debugger.
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.
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.
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)
- Start remote debugging from within script HOT 2
- Ruby 2.1.0 segmentation fault with debugger HOT 6
- symbol lookup error HOT 6
- rdebug: 43dd0995 breaks catching exception message and raises exception in debug mode HOT 3
- Ruby 2.1.1 install error HOT 20
- rdebug: history is not saved if exception occurs HOT 2
- ruby 2.0 ,ERROR: Failed to build gem native extension., this error didn't completely solve HOT 4
- Post Mortem Debugging HOT 3
- You may have encountered a bug in the Ruby interpreter or extension libraries HOT 3
- debugger can't be installed on ruby 2.X HOT 35
- No such file or directory @ rb_file_s_stat - ./212/ruby_debug.h (Errno::ENOENT) HOT 2
- problem with debugger 1.6.8 on ruby 2.1.2 HOT 2
- debugger terminates a Rails console when you type `n` HOT 3
- gem install debugger problem HOT 2
- Pry & Debugger HOT 2
- Ruby 2.1.4 error HOT 2
- Error installing on 1.9.3p392 HOT 2
- Unclear install error for ruby 2 HOT 6
- Please include a compatibility layer! HOT 1
- No source for ruby-1.9.3-p556 provided with debugger-ruby_core_source gem.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debugger.