aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-28 10:49:26 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-28 10:49:26 -0400
commit704cee406ac9d0a6ef9dfa6ea719d4b198b1f6d4 (patch)
treec6c6d6e68130dafe31f1fd5fb6af88833e905887 /tools
parent32d876ded1aefc52f839d65570e3e3c43ec04415 (diff)
nx2: notes on the recurring worker-thread crash; gdbrsp waits without a timeout
Diffstat (limited to 'tools')
-rw-r--r--tools/nx2/gdbrsp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/nx2/gdbrsp.py b/tools/nx2/gdbrsp.py
index f7e70c8fbe..245ddc24a6 100644
--- a/tools/nx2/gdbrsp.py
+++ b/tools/nx2/gdbrsp.py
@@ -15,7 +15,8 @@ class Rsp:
import time
for _ in range(240): # wait up to ~2 min for the stub to listen
try:
- self.s = socket.create_connection(("127.0.0.1", port), timeout=3600)
+ self.s = socket.create_connection(("127.0.0.1", port), timeout=3)
+ self.s.settimeout(None) # a stop can be hours of play away
break
except OSError:
time.sleep(0.5)