Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view Threads window in Visual studio? [duplicate]

In visual studio, it should be in Debug> Windows> Threads. But mine doesn't have it!

enter image description here

like image 424
mshwf Avatar asked Aug 01 '16 12:08

mshwf


People also ask

How do I see all threads in Visual Studio?

While Visual Studio is in debug mode, select the Debug menu, point to Windows, and then select Threads.

How do I Debug multiple threads in Visual Studio?

Tools for debugging multithreaded apps Visual Studio provides different tools for use in debugging multithreaded apps. For threads, the primary tools for debugging threads are the Threads window, thread markers in source windows, the Parallel Stacks window, the Parallel Watch window, and the Debug Location toolbar.

Which one of these will you use to view threads and stacks?

Threads view shows call stack information for all threads in the app. You can navigate between threads and stack frames on those threads. Tasks view shows task-centered call stack information. In managed code, Tasks view shows call stacks of System.


2 Answers

You need to start debugging first, then it will appear in that menu.

like image 134
rory.ap Avatar answered Oct 06 '22 07:10

rory.ap


After you start debugging, go to Debug=>windows=>Threads or press Ctrl+Alt+H to view threads.

like image 34
piyush sanadhya Avatar answered Oct 06 '22 09:10

piyush sanadhya