From e298b70edfbf4614c0585328bdaf3041609c2fc8 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 14 Oct 2022 15:42:10 -0400 Subject: [PATCH] Drop added `.pdp()` level msgs used duringn dev --- tractor/_debug.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tractor/_debug.py b/tractor/_debug.py index 4eac2da..8709225 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -365,7 +365,7 @@ async def wait_for_parent_stdin_hijack( ) as (ctx, val): - log.pdb('locked context') + log.debug('locked context') assert val == 'Locked' async with ctx.open_stream() as stream: @@ -384,15 +384,14 @@ async def wait_for_parent_stdin_hijack( # sync with callee termination assert await ctx.result() == "pdb_unlock_complete" - log.pdb('unlocked context') + log.debug('exitting child side locking task context') except ContextCancelled: log.warning('Root actor cancelled debug lock') finally: - log.pdb(f"Exiting debugger for actor {actor_uid}") Lock.local_task_in_debug = None - log.pdb(f"Child {actor_uid} released parent stdio lock") + log.debug(f'Exiting debugger from child') def mk_mpdb() -> tuple[MultiActorPdb, Callable]: