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

Use awaiter-link pragma to guide VM's builtin awaiter stack unwinding #135

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

mraleph
Copy link
Member

@mraleph mraleph commented Jun 30, 2023

This newly introduced pragma allows builtin awaiter stack unwinding to unwind awaiter chain through custom Zone callbacks, which fixes issues with native stack traces and debugger functionality (e.g. pause on uncaught exceptions will work better in tests which wrap code in stack_trace's custom Zone).

@mraleph mraleph requested a review from mkustermann June 30, 2023 13:11
@mraleph mraleph merged commit d3e4c4d into dart-lang:master Jul 4, 2023
@mraleph mraleph deleted the add-awaiter-link branch July 4, 2023 09:22
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.

2 participants