From 6a0b8567c4110e5df5c2adcc0a05bb883f03c907 Mon Sep 17 00:00:00 2001 From: goodboy Date: Sun, 8 Feb 2026 19:27:24 -0500 Subject: [PATCH] Add masked `.set_trace()` to catch weird TCP-addr issue --- tractor/_runtime.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tractor/_runtime.py b/tractor/_runtime.py index f77c69c1..bfdd16b9 100644 --- a/tractor/_runtime.py +++ b/tractor/_runtime.py @@ -906,6 +906,14 @@ class Actor: # => update process-wide globals # TODO! -[ ] another `Struct` for rtvs.. rvs: dict[str, Any] = spawnspec._runtime_vars + # if ( + # isinstance(rvs['_root_addrs'], dict) + # or + # isinstance(rvs['_root_mailbox'], dict) + # ): + # from .devx import mk_pdb + # mk_pdb.set_trace() + if rvs['_debug_mode']: from .devx import ( enable_stack_on_sig,