tractor
tractor copied to clipboard
`asyncio` (mode) debugger support
Replacement for #351 to start effort toward testing our debugger (with
pdbp) and basic functionality when running actors in
infected_asyncio mode.
Test set todo:
- [ ] ensure std
breakpoint()calls work outsidetractor.open_nursery()- [ ] we might want to ensure something something with threads and/or maybe
numba?
- [ ] we might want to ensure something something with threads and/or maybe
- [ ] add a test suite for use inside an infected asyncio actor:
- [ ]
asynciotask usesbreakpoint()directly, expect normal UX - [ ]
asynciotask crashes and trio side enters debug? (or should the aio task get caught?) - [ ] cancel actor from parent and ensure that if some asyncio-task has debugger lock, normal teardown blocking is adhered?
- [ ]
Any new issues?
- [ ] go through our list here: https://github.com/goodboy/tractor/issues?q=is%3Aissue+is%3Aopen+label%3Adebugger
- [ ] of particular note is the hang issue recently found in https://github.com/goodboy/tractor/issues/354, which has an example / test added in #351