C#C
C#8mo ago
Ploxi

[Async Hell] Messed up Stacktrace

Before the call, i have the following stack trace: Image 1
After it, its shortened and scrambled up: Image 2


Thing is, i have a Adapter which does some retry logic and it seems like it gets messed up in there. https://gist.github.com/JKamsker/8379749b3736b4c95028e6022709b88f


It enters the retry callback of "SendCollectionAsync" and after it, the stack is basically scrambled.

Can i somehow preserve the stack? ConfigureAwait didnt help :/
rider64_Fau1K9zLhW.png
rider64_IoDCluV0U0.png
rider64_ynIHbA19xl.png
Gist
Handler. GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?