From 519f4c300bb9782170fd3f1f3752e4cf3b1cf5da Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 7 Jul 2022 16:06:44 -0400 Subject: [PATCH] I dunno, seems like `breakpoint()` needs this? --- tractor/_debug.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tractor/_debug.py b/tractor/_debug.py index 38fe58c..c76ff8a 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -742,6 +742,8 @@ def _set_trace( if pdb and actor is not None: log.pdb(f"\nAttaching pdb to actor: {actor.uid}\n") + # no f!#$&* idea! + frame = frame.f_back else: pdb, undo_sigint = mk_mpdb()