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

Async debug #14

Open
HuyaneMatsu opened this issue Feb 14, 2023 · 0 comments
Open

Async debug #14

HuyaneMatsu opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@HuyaneMatsu
Copy link
Owner

Scarletio should have an option to turn on async debug mode.

Async debug mode would trace every future mutation. If required these actions could be displayed. By default these would be shown if a future is not completed as expected.

The feature can implemented on two ways:

  • Environmental variable that sets debug mode on startup.
  • Functional api that modifies the future api runtime.

This change would also require trace handling modifications, since it needs to store the trace. Long-time trace storing would require to ditch the frame itself to enable garbage collection.

@HuyaneMatsu HuyaneMatsu added the enhancement New feature or request label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant