Commit c53bd6e
committed
fix(dap): bound the debugpy import probe with a timeout
The probe runs synchronously on the :Dap* setup tick; a hung interpreter
(dead network FS, broken shim) would block the editor indefinitely. wait(5000)
SIGKILLs the probe on timeout with exit code 124 (:h SystemObj:wait()), which
the existing non-zero check already treats as a failed probe, so resolution
falls through to the remaining candidates.1 parent 6df2354 commit c53bd6e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
0 commit comments