Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug flag per actor #271

Merged
merged 13 commits into from
Dec 12, 2021
Merged

Debug flag per actor #271

merged 13 commits into from
Dec 12, 2021

Conversation

goodboy
Copy link
Owner

@goodboy goodboy commented Dec 7, 2021

Draft try at allowing per-actor debug mode control(s).

Also some fixes to the test suite to actually use correct log level settings as well as some logic to use PDB level logging by default whenever debug_mode=True is set.

This this probably could use some tests?

It turns out recent improvements have made the debugger too good
so we need to just terminate the continue loop in this test when
we finally see the "spawn error" crash out because the breakpoint
forever case will literally, continue forever XD
@goodboy goodboy marked this pull request as ready for review December 7, 2021 22:10
@goodboy
Copy link
Owner Author

goodboy commented Dec 9, 2021

@guilledk besides nooz, if CI is clean, i think this is ready to land as well.

If we make it too fast a nursery with debug mode children can cancel
too fast and causes some test failures. It's likely not a huge deal
anyway since the purpose of this poll/check is for human interaction
and the current delay isn't really that noticeable.

Decrease log levels in the debug module to avoid console noise when in
use. Toss in some more detailed comments around the new debugger lock
points.
@goodboy goodboy merged commit 56297cf into master Dec 12, 2021
@goodboy goodboy deleted the debug_flag_per_actor branch December 12, 2021 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant