Git Product home page Git Product logo

Comments (12)

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

Hi again, @kevjames3! As you point out, this might be related to issue #7. I opened this bug report in ruby-core which might or might not fix that. Your bug report, unlike #7, provides a way to reproduce the error so I'm going to be able to have a deeper look in to this.

Thanks a lot, I'll let you know how it goes!

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

I can confirm this behaviour in current master. I'm going to investigate this.

from byebug.

kevjames3 avatar kevjames3 commented on May 23, 2024

Sweet! Thanks

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

Ok, so it looks like this is a problem with the TracePoint API, similar to #5. In this case, it is related to the return keyword inside lambda's. Notice that if you remove the return inside the lambda, everything works as expected.

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

You can follow the issue here. Hopefully we'll be as lucky as in #5... :)

from byebug.

kevjames3 avatar kevjames3 commented on May 23, 2024

Hah, I had a feeling. In the meantime, I will be substituting its use with
Proc instead

On Wed, Jul 10, 2013 at 9:59 AM, David Rodríguez
[email protected]:

You can follow the issue here https://bugs.ruby-lang.org/issues/8622.
Hopefully we'll be as lucky as in #5#5...
:)


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-20756793
.

Kevin McIntosh
Sacramento, CA
503-896-7155

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

Hi man, quick update on this... I haven't forgot about this and #7. This is reported upstream but nothing has been done yet. And I haven't had time to look at it myself and I'm not very sure I would succeed... Last news from @ko1 (TracePoint API author and ruby-core member assigned to the bugs) were

Not high priority. I want to solve these issues before 2.1 release (and feature freeze is Sep/2013).

Salute!

from byebug.

ko1 avatar ko1 commented on May 23, 2024

OK, I'll check it. Thank you for your reporting.

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

Great, thanks a lot! :)

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

@ko1 has just solved this! https://bugs.ruby-lang.org/issues/8622#change-42408

So we'll have a better byebug soon!

Thanks @ko1

from byebug.

ko1 avatar ko1 commented on May 23, 2024

(2013/10/10 19:36), David Rodríguez wrote:

@ko1 https://github.com/ko1 has just solved this!
https://bugs.ruby-lang.org/issues/8622#change-42408

sorry for late.

Any other trouble?

// SASADA Koichi at atdot dot net

from byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 23, 2024

No worries!

There's been some other trouble with the API but I was not able to isolate the problem like in this case, so maybe it was actually the same issue. I will start using the patch from today, and check whether I can reproduce those problems without this patch or not. If I find something out, I'll let you know straight away.

Thanks again!

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.