Multi-threaded debugging with Visual Studio

Only F11 on one thread:

http://stackoverflow.com/questions/13498810/visual-studio-f11-only-stepping-interested-in-what-a-particular-thread-is-doin

"In Visual Studio, show the "Threads" window, available from the Debug->Windows menu.
Then, while you are tracing using F11, if the debugger breaks in the thread you are not interested in, find this thread in the threads window, right-click it and choose the "Freeze" option in the context menu.

Now when you continue to trace using F10 or F11, you will never hit breakpoints in the frozen thread.

Note that the frozen thread will not be executing at all, so if you do need it to do some work while you are debugging, you may need to unfreeze and freeze it again from time to time."

How to use the parallel watch window:

https://msdn.microsoft.com/en-us/library/hh418499.aspx

Debug Threads and Processes

https://msdn.microsoft.com/en-us/library/ms164739.aspx


Comments

Popular posts from this blog

Tutorial: Using Google Cloud Storage from C# and .NET

Late 2008 Macbook only giving 1.5 gb/s speed with 6 gb/s Intel SSD?

Enable Visual Studio to use more than 2GB of memory