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

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-07 16:06:44 -04:00
parent 8537e17251
commit df0108a0bb
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()