Comments
2 comments
-
Hi Andy,
Thanks for your post and so sorry for the long delay!
Regarding this issue, can you kindly do a quick check--if you profile using one of the "All methods inc. framework" modes and from the results, look at the methods grid with "All methods" chosen from the display options--do you see the other methods listed there? If they still don't appear, can you please try disabling "Profile with async awareness" from Tools>Advanced options and then profile again to see if the missing methods then appear? -
Hi Jessica
Yes, if I turn off async-aware, these methods reappear.
Cheers,
Andy
Add comment
Please sign in to leave a comment.
The code is something similar to
When I profile this method, timing only proceeds to the the GetDataSource method. When I search for the ReportDataProcessor class, ProcessAsync or in fact any of the code further down, there are no results. There are multiple cases elsewhere in the solution where code that is executed in async continuations is not being profiled.
If I change the code to using ContinueWith(...) instead of async/await the profiler will profile the continuations correctly