tractor/examples/debugging
Tyler Goodlet 0f24d4b83c Add a debug-mode-breakpoint-causes-hang case!
Only found this by luck more or less (while working on something in
a client project) and it turns out we can actually get to (yet another)
hang state where SIGINT will be ignored by the root actor on teardown..

I've added all the necessary logic flags to reproduce. We obviously need
a follow up bug issue and a test suite to replicate!

It appears as though the following are required based on very light
tinkering:
- infected asyncio mode active
- debug mode active
- the `trio` context must breakpoint *before* `.started()`-ing
- the `asyncio` must **not** error
2023-04-17 13:43:16 -04:00
..
asyncio_bp.py Add a debug-mode-breakpoint-causes-hang case! 2023-04-17 13:43:16 -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 Adjust multi-daemon test to be more deterministic 2022-10-14 19:42:23 -04:00
multi_nested_subactors_error_up_through_nurseries.py Expand nested case to include error prop and breakpointing 2022-10-14 19:42:23 -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 Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -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 Lol. should probably push the example code... 2021-12-10 12:48:05 -05:00
restore_builtin_breakpoint.py Restore `breakpoint()` hook after runtime exits 2023-04-17 13:43:16 -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 Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -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
subactor_bp_in_ctx.py Add back in async gen loop 2022-07-27 11:40:02 -04:00
subactor_breakpoint.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00
subactor_error.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00