Giter Site home page Giter Site logo

Comments (2)

os97673 avatar os97673 commented on August 10, 2024

It would be very useful if you could provide a small test project which reproduces the problem.

from ruby-debug-ide.

tyler-ball avatar tyler-ball commented on August 10, 2024

https://github.com/opscode/chef/tree/tball/audit-mode-integration

Check out that branch and put a breakpoint at lib/chef/audit/audit_event_proxy.rb:19 using rubymine. Modify chef.gemspec to include

  s.add_dependency "ruby-debug-ide", "= 0.4.23.beta11"
  s.add_dependency "debase", "= 0.1.0"

Run bundle install and rvmsudo bundle exec rdebug-ide --host 0.0.0.0 --port 58959 --dispatcher-port 58960 -- ./bin/chef-client with ruby 1.9.3. I then connect to the debug session using the latest version of rubymine. Some output goes to stdout and then you should see the above error. This is assuming that you have chef setup on your local machine.

I know this isn't a small project, but there are so many variables that could be causing this that I don't know what to duplicate in a small project. It also does not fail until half way through the chef run. I tried using another project had laying around, and I could not reproduce this.

If I do not set a breakpoint, all the above steps succeed.

from ruby-debug-ide.

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.