Chrome hang with Capybara and RSpec
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- ruby
- Domínio
- devtools, testing-qa
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Ruby
- Estrelas
- 1.3k
- Forks
- 146
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ruby/debug
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
palladius/rails8-app-on-gcp#145 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
riscv/riscv-unified-db#2624 · 1 reação ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100