Chrome hang with Capybara and RSpec
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- ruby
- 領域
- devtools, testing-qa
研究方向
Start with the reproduction repository's README and the simplified gist, then run the Capybara/RSpec case under the default both fork mode and compare it with child and parent. Trace where the debugger interacts with the forked process and Chrome; done means the reproduction no longer hangs under both while the existing modes continue to work.
由索引模型根據 Issue 內容生成。
描述
Your environment
ruby -v:ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]rdbg -v:rdbg 1.3.1(f5ff7f7)- OS: macOS 11.6 20G165
Describe the bug
When running Capybara and RSpec with Chrome under a certain condition, Chrome hangs.
This never occurs with the child / parent fork mode. It occurs only with the both fork mode (default).
To Reproduce
I prepare a repository for reproduction. Please follow the instruction on the README:
https://github.com/ybiquitous/ruby-debug-with-capybara
https://user-images.githubusercontent.com/473530/138542439-59d77839-886b-4f6b-bf9b-37f05cd538f9.mov
Note: Here is a simplified version on Gist (thanks to @nishio-dens):
https://gist.github.com/nishio-dens/c64245eb143e9c3b22b9d7b9f93f25d2
Expected behavior
I think Chrome should not hang.
Additional context
None.
- 主要語言
- Ruby
- 星號
- 1.3k
- 分支
- 146
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ruby/debug 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP 未關閉
難度 4/5 3-5 天 新手友好度 55/100
-
難度 3/5 1-2 天 新手友好度 45/100
-
難度 4/5 3-5 天 新手友好度 52/100
-
難度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
palladius/rails8-app-on-gcp#145 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
riscv/riscv-unified-db#2624 · 1 個 reaction ·
-
難度 1/5 1 小時以內 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 78/100