Comments (12)
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.
I can confirm this behaviour in current master. I'm going to investigate this.
from byebug.
Sweet! Thanks
from byebug.
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.
You can follow the issue here. Hopefully we'll be as lucky as in #5... :)
from byebug.
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.
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.
OK, I'll check it. Thank you for your reporting.
from byebug.
Great, thanks a lot! :)
from byebug.
@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.
(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.
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)
- Cannot step into require method in Ruby 3.0.0
- byebug tends to get "stuck" in the debugger in Windows Terminal with tabs HOT 2
- Provide a way to exit the program without exiting the Rails Console
- Segmentation Fault in Ruby 3.0 Rspec HOT 5
- Only show program files in backtrace (excluding gems)
- [macOS][11.4] ERROR: Error installing byebug 11.1.3 HOT 3
- [macOS][12.0] ERROR: Error installing byebug 11.1.3 HOT 3
- Default port in byebug CLI
- Test failure with ruby 3.0.2 HOT 1
- Is it possible to make post_mortem the default behaviour?
- Byebug does not work when called in a background process group
- byebug-6 compile issue
- Exceptions when running `frame` or `backtrace` on a Sinatra application
- Arguments for `where`
- BuildError: ERROR: Failed to build gem native extension byebug 8.2.1 HOT 5
- cannot load such file -- irb (LoadError)
- Homebrew Formula error: No available formula with the name "formula". Did you mean foreman? Error: Broken pipe
- Build dependency on chandler, which is archived/unmaintained HOT 1
- Byebug error parses a comma in a string as an endinger for a line of code HOT 1
- Commands with no description HOT 2
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 byebug.