Restarting an rdbg attach session terminates the debuggee process
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
Piste de recherche
Start by reproducing the VS Code Restart action with an rdbg attach session, then trace how the disconnect request handles restart: true and terminateDebuggee: true. Done means restarting or reconnecting the debugger without terminating the attached Ruby process; add or update coverage for this attach-session behavior if the relevant test location is found.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Your environment
ruby -v: 4.0.5rdbg -v: 1.11.1
Describe the bug
When attaching to an existing Ruby process with rdbg, pressing the Restart button in VS Code terminates the debuggee process.
To Reproduce
- Start a Ruby process with rdbg attach enabled.
- Attach from VS Code using the rdbg extension.
- Press the Restart button in the Debug toolbar.
Expected behavior
The debugger session should restart/reconnect without terminating the attached Ruby process.
Additional context
When pressing Restart, VS Code sends:
{
"command": "disconnect",
"arguments": {
"restart": true,
"terminateDebuggee": true
},
"type": "request"
}
After this, the debuggee terminates.
- Langage dominant
- Ruby
- Étoiles
- 1.3k
- Forks
- 146
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ruby/debug
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
Toutes les issues de ruby/debug
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
バグ
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
-
Version bump for OpenVox 9 Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
voxpupuli/puppet-epel#186 · 1 commentaire ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OuverteBug Frontend
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100