Debugging Async with Visual Studio
Richard Blewett, Andrew Clymer · Apress eBooks · 2013
Debugging multithreaded applications is often nontrivial. This is because they have multiple threads of execution running asynchronously and, to some degree, independently. These threads can sometimes interact in unexpected ways, causing your code to malfunction. However, exactly when the threads execute depends on the Windows thread scheduler. It is therefore possible that one instance of a program will run perfectly fine whereas another will crash—and the only thing that is different is how and when the different threads were scheduled. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.