VS2013 – Async Debugging

VS2013 adds asynchronous debugging for C#, VB, JavaScript and C++ developers.  Somasegar’s blog provide further details:

Previously, it could be very difficult for a developer stopped at a breakpoint to know the asynchronous sequence of calls that brought them to the current location.  Now in Visual Studio 2013, the Call Stack window surfaces this information, factoring in new diagnostics information provided by the runtime.  Further, when an application stops making visible forward progress, it’s often difficult to diagnose and to understand what asynchronous operations are currently in flight such that their lack of completion might be causing the app to hang.  In Visual Studio 2013, the Tasks window (formerly called Parallel Tasks in Visual Studio 2010 and Visual Studio 2012) now includes details on these async operations so that you can break into your app in the debugger and easily see and navigate to everything that’s in flight.

Very cool


~ by mdavey on June 28, 2013.

One Response to “VS2013 – Async Debugging”

  1. Very cool indeed. We have made small strides in this direction for JavaScript with Q’s long stack trace feature: https://github.com/kriskowal/q#long-stack-traces

    But visualization of the entire promise graph is still something we’re working on, and that’s not even getting near the debugger. From talking to the Firefoz dev tools guys though they may be able to add something like Visual Studio’s async debugging feature to future releases. It would be nice to have them do the work instead of Kris and I, certainly 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: