I dunno, seems like `breakpoint()` needs this?

signint_saviour
Tyler Goodlet 2022-07-07 16:06:44 -04:00
parent 56c19093bb
commit 519f4c300b
1 changed files with 2 additions and 0 deletions

View File

@ -742,6 +742,8 @@ def _set_trace(
if pdb and actor is not None: if pdb and actor is not None:
log.pdb(f"\nAttaching pdb to actor: {actor.uid}\n") log.pdb(f"\nAttaching pdb to actor: {actor.uid}\n")
# no f!#$&* idea!
frame = frame.f_back
else: else:
pdb, undo_sigint = mk_mpdb() pdb, undo_sigint = mk_mpdb()