Skip to content

Preserve dumpasync continuation order - #5990

Draft
max-charlamb wants to merge 1 commit into
dotnet:mainfrom
max-charlamb:max-charlamb/dumpasync-child-order
Draft

Preserve dumpasync continuation order#5990
max-charlamb wants to merge 1 commit into
dotnet:mainfrom
max-charlamb:max-charlamb/dumpasync-child-order

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • preserve the order of child tasks stored in a task continuation array when rendering dumpasync stacks
  • represent both tracked async objects and plain task continuations in the iterative depth-first traversal
  • add an end-to-end Task.WhenAll scenario that verifies first, second, and third continuations are displayed in registration order

Validation

  • Build.cmd
  • SOSAsyncTests.DumpAsyncContinuationOrder: 8 passed
  • baseline verification without the command change: 8 failed

Push continuation children in reverse stack order so they are displayed in the same order as the task continuation array. Add an end-to-end Task.WhenAll SOS test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
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