Should not suspend on detached mode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
The issue names detached execution, binding.bp, and the exe/rdbg -O target.rb -n entry point, but no implementation file or test. Start by tracing how detached sessions handle binding.bp and compare the expected behavior with the current remote-console wait. Done means an agreed configuration scope, implemented behavior, and tests covering the selected default and option.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Now, detached debuggee encounters the suspend point (like binding.bp), the debuggee will suspend and wait for remote console connection like that:
p 1
binding.bp
[master]$ exe/rdbg -O target.rb -n
DEBUGGER: Session start (pid: 11257)
DEBUGGER: Debugger can attach via UNIX domain socket (/home/ko1/.ruby-debug-sock/ruby-debug-ko1-11257)
1
DEBUGGER: wait for debuger connection...
However, other deubgers like gdb doesn't stop (from the beginning, the detached process is not under control by gdb).
I think there is a case to wait remote console connection, but not sure which is majority.
Make a configuration?
- global configuration (which should be a default?)
binding.bpoption (wait_attach: true/false)
- Lingua principale
- Ruby
- Stelle
- 1.3k
- Fork
- 146
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ruby/debug
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
notch8/utk_knapsack#148 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
Homebrew/homebrew-cask#288729 · 1 commento ·
-
Documentation issues Aperta
Difficoltà 2/5 1-2 giorni Idoneità per principianti 72/100
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
betagouv/acces-cible#722 ·