Code Monkey home page Code Monkey logo

Comments (10)

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

Hi @key88sf, this is concerning... Are you using latest byebug?

from byebug.

key88sf avatar key88sf commented on August 20, 2024

@deivid-rodriguez Yep, I am. It seems to be something about my rails app/project -- when I use byebug in a basic rails app it works fine. Wondering if you have any thoughts about what could cause this that I could look at?

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

No... I've never seen this... I guess if you set the breakpoint on a line where you cannot possibly go deeper it works fine?

Not very confident it will help, but would you be able to try this using ruby-head or patching your current ruby with both r44535 and r45758? Just to make sure.

from byebug.

key88sf avatar key88sf commented on August 20, 2024

Hmm haven't tried that yet, but strangely Pry seems to work ok (e.g. doing a binding.pry in the code). Maybe a conflict between the two?

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

There shouldn't be any conflicts with pry...

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

@key88sf Can you try to reproduce this issue against latest Byebug and latest ruby 2.1.3? Did you ever experience it again? I really think this should be now fixed.

from byebug.

bronson avatar bronson commented on August 20, 2024

I'm getting this with Ruby 2.0.0p481 and Byebug 3.1.2. I'll update to the latest and try again, but that might take a few days.

mental note for me: 961ff20cd5ce78ebea7f92a2d941ffb2f2556a6f then break app/domains/importer/data_helpers.rb instance.reload:38 then catch Exception then cont.

*** Byebug's stacksize (74) should be 73. This might be a bug in byebug or ruby's debugging API's
-->  ͱ-- #0  RubyVM::DebugInspector.frame_binding()
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:25
    #1  block (2 levels) in BindingOfCaller::BindingExtensions.callers
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:25
     ͱ-- #2  Kernel.loop
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:23
    #3  block in BindingOfCaller::BindingExtensions.callers
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:23
     ͱ-- #4  #<Class:RubyVM::DebugInspector>.open
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:21
    #5  BindingOfCaller::BindingExtensions.callers
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:21
    #6  block in Exception.<class:Exception>(*args#Array)
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/better_errors-1.1.0/lib/better_errors/core_ext/exception.rb:9
     ͱ-- #7  PG::Connection.get_last_result
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/activerecord-4.0.8/lib/active_record/connection_adapters/postgresql_adapter.rb:810
    #8  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.exec_cache(sql#String, binds#Array)
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/activerecord-4.0.8/lib/active_record/connection_adapters/postgresql_adapter.rb:810

... etc ...

    #25 ActiveRecord::AttributeMethods::Dirty.reload(options#NilClass)
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/activerecord-4.0.8/lib/active_record/attribute_methods/dirty.rb:49
    #26 ActiveRecord::AutosaveAssociation.reload(options#NilClass)
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/activerecord-4.0.8/lib/active_record/autosave_association.rb:217
    #27 Importer::DataHelpers.import_row(model#Class, row#Hash)

... etc ...

    #69 Rake::Application.run
      at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/rake-10.3.2/lib/rake/application.rb:75
    #70 <top (required)> at /Users/bronson/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/rake-10.3.2/bin/rake:33
     ͱ-- #71 Kernel.load at /Users/bronson/.rbenv/versions/2.0.0-p481/bin/rake:23
    #72 <main> at /Users/bronson/.rbenv/versions/2.0.0-p481/bin/rake:23

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

@bronson cool, this is an interesting one!

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

@bronson Any news?

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

Closing for lack of feedback.

from byebug.

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.