I suggest you ...

Allow viewing async tasks in ASP.NET applications

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/351418/allow-viewing-async-tasks-in-aspnet-applications.html
Currently, it doesn't seem possible to get a view of async tasks in the Tasks window when debugging an ASP.NET application. It seems that asynchronous (async/await) coding is being pushed by Microsoft and is becoming a generally accepted Good Thing for web applications in many languages, but debugging asynchronous applications with no visibility of outstanding or current tasks is very difficult.

The Tasks debugging window only seems to work in a very simple scenario: when running an application (such as a console app) under the debugger via F5. Attaching to an existing process or launching an ASP.NET application running under IIS simply displays "No tasks to display".

Being able to view outstanding tasks would make debugging asynchronous ASP.NET code significantly easier.

57 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Bart Joy shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Thank you for using Visual Studio and for your commitment to improving it. We are currently evaluating whether we will be able to provide the ability to show outstanding tasks in the Tasks window after attaching to a running application as suggested. We will be providing an update soon.

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base