GithubHelp home page GithubHelp logo

ko1 / debugger2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cldwalker/debugger

94.0 94.0 4.0 917 KB

port of debugger that works on MRI 2.0.0

License: BSD 2-Clause "Simplified" License

Ruby 47.83% Emacs Lisp 38.25% C 13.87% Shell 0.05%

debugger2's People

Contributors

adammck avatar aghull avatar amatsuda avatar astashov avatar cldwalker avatar eregon avatar ericpromislow avatar foobarwidget avatar hipe avatar jeckersb avatar jordimassaguerpla avatar ko1 avatar nobu avatar sorah avatar sunaku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

debugger2's Issues

Doesn't work

Here is what I get:

2.0.0-p0 :001 > require 'debugger'
LoadError: cannot load such file -- ruby_debug.so

I created a new Gemfile (bundle init) with this content:

source "https://rubygems.org"

gem 'debugger', github: 'ko1/debugger2'

If you try to "bundle exec irb" and 'require "debugger"', you'll get the error above. How can I test this?

the debugger stops at some locations where breakpoint is not set

For example, when debugging this webapp under WEBrick, the debugger always stops inside Rack or WEBRick code (e.g. in my case, rack-1.5.2/lib/rack/handler/webrick.rb).

require 'sinatra'
require 'debugger2'
get '/' do
  debugger
  'Hello'
end

Strangely, this does never happen when running exact the same app under Thin web server (but unfortunately, it DOES happen when debugging Rails apps under any sort of web server, which indeed is our major concern).

How to install this? Does the name of debugger2 exist?

I don't find debugger2 in rubygems now.

This is readme:

gem build debugger2.gemspec
gem install debugger-1.0.0.gem

I built but I found debugger2-1.0.0.beta2.gem. I installed this then I found gem debugger2 (1.0.0.beta2) .

I'm confused.

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.