Comments (6)
An update: while the Chrome tab keeps on spinning, I got this error message:
from ruby_jard.
Another update: I can confirm that with binding.pry everything is working as expected.
from ruby_jard.
Hi @feliperaul, let me confirm:
- The slowness happens when you inject
jard
, refresh the page on chrome, inspect, typeexit
, removejard
. Then, the next page is unacceptably slow right? - Or, you inject
jard
, inspect, thencontinue
and the page load is slow?
The message is interesting. That event should only be raised then the terminal emulator is resized.. Does it popup when you are in Overmind, or in a vanilla terminal emulator?
from ruby_jard.
First option: The slowness happens when I inject jard, refresh the page on chrome, inspect, type exit, remove jard. Then, the next page is unacceptably slow.
About the message, I'm not in front of the computer right now, but if I recall correctly, it was a vanilla Rails terminal.
What happens is, with iTerm2, I use CMD SHIFT ENTER all the time to resize the terminal windows to occupy fullscreen. I probably did that with jard even on the vanilla rails terminal, because when jard is activated only half the screen is too small for it.
Let me know if I can help debugging any further!
from ruby_jard.
Thank you. I think that's enough for me to debug. At the first glance, I think there are some conflicts between rails autoreload so that tons of scripts are running forever. During that time, when you resize, a race condition happens and pop that error out. I never go into this scenario before. Gonna test it out and let you know if I found some clues 😉
from ruby_jard.
Hi @feliperaul, I tested on my local, and I can confirm that it's truly a bug. The slowness is significant. I implemented a fix, and the situation is good (for me). Could you test it again by pointing jard to my branch?
gem 'ruby_jard', git: 'https://github.com/nguyenquangminh0711/ruby_jard', ref: 'bug/fix-slowness-after-exit'
from ruby_jard.
Related Issues (20)
- dRB compatibility? HOT 2
- Error with Ruby 3.2, need pry > 0.14
- [BUG] Error on app startup -1 out of range HOT 3
- [BUG] Internal error from jard - undefined method `shift` for nil HOT 1
- [BUG] HOT 2
- [BUG] Source output incorrect HOT 2
- Supporting "disable-pry" kind of functionality HOT 2
- Support for JRuby HOT 2
- Breakpoint in initializer throws error "undefined method `to_hash' for nil:NilClass" HOT 1
- Pager isn't working HOT 8
- [BUG] Control command is empty HOT 3
- Anyone able to use this on Rails with Passenger? HOT 2
- [BUG] Not compatible with Rails CurrentAttributes - attributes come back as nil HOT 3
- [BUG] Can not step into subsequent calls on the same line of code (only the call which is evaluated first by Ruby)
- [BUG] Debugging console freezes when executing a Rails' association on a model instance HOT 1
- Support Ruby 2.4
- Error uninitialized constant #<Class:0x00007f96b6e8aa68>::Analyzable
- [BUG] empty space below the prompt when running in Rails project on WSL/Ubuntu HOT 2
- [BUG] ~/.jardrc does not seem to work with Rails Console HOT 1
- Keyword to output the underlying SQL query of Active Record relation to the console
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 ruby_jard.