tractor/examples/debugging
Tyler Goodlet a356233b47 Wrap `asyncio_bp.py` ex into test suite
Ensuring we can at least use `breakpoint()` from an infected actor's
`asyncio.Task` spawned via a `.to_asyncio` API.

Also includes a little `tests/devx/` reorging,
- start splitting out non-`tractor.pause()` tests into a new
  `test_pause_from_non_trio.py` for all the `.pause_from_sync()`
  use in bg-threaded or `asyncio` applications.
- factor harness commonalities to the `devx/conftest` (namely
  the `do_ctlc()` masher).
- mv `test_pause_from_sync` to the new non`-trio` mod.

NOTE, the `ctlc=True` is still failing for
`test_pause_from_asyncio_task` which is a user-happiness bug but not
anything fundamentally broken - just need to handle the `asyncio` case
in `.devx._debug.sigint_shield()`!
2025-03-22 14:24:53 -04:00
..
asyncio_bp.py Wrap `asyncio_bp.py` ex into test suite 2025-03-22 14:24:53 -04:00
debug_mode_hang.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
fast_error_in_root_after_spawn.py Fix type path to new `_supervise` mod 2021-10-23 15:54:40 -04:00
multi_daemon_subactors.py Fix multi-daemon debug test `break` signal.. 2025-03-22 14:24:53 -04:00
multi_nested_subactors_error_up_through_nurseries.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
multi_subactor_root_errors.py Adjust debugger tests to expect depth > 1 crashes 2021-10-14 13:39:46 -04:00
multi_subactors.py Flip to `.pause()` in subactor bp example 2025-03-20 23:22:45 -04:00
open_ctx_modnofound.py Add basic module-not-found when opening a ctx eg. 2022-08-02 12:17:06 -04:00
per_actor_debug.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
pm_in_subactor.py Add a `tractor.post_mortem()` API test + example 2025-03-21 15:25:42 -04:00
restore_builtin_breakpoint.py Add `breakpoint()` hook restoration example + test 2025-03-22 14:24:53 -04:00
root_actor_breakpoint.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00
root_actor_breakpoint_forever.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
root_actor_error.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00
root_cancelled_but_child_is_in_tty_lock.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00
root_timeout_while_child_crashed.py Docs and comments tidying 2021-08-01 10:44:13 -04:00
shield_hang_in_sub.py Officially test proto-ed `stackscope` integration 2025-03-22 14:24:51 -04:00
shielded_pause.py Finally, officially support shielded REPL-ing! 2025-03-21 15:25:42 -04:00
subactor_bp_in_ctx.py Add back in async gen loop 2022-07-27 11:40:02 -04:00
subactor_breakpoint.py Flip to `.pause()` in subactor bp example 2025-03-20 23:22:45 -04:00
subactor_error.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
sync_bp.py Get multi-threaded sync-pausing fully workin! 2025-03-22 14:22:33 -04:00