How can I view the active threads of a running program?

27

8

I know I can see all running processes in Task Manager. But how can I see the single threads that run inside these processes?

Der Hochstapler

Posted 2012-08-17T18:14:58.223

Reputation: 77 228

Answers

37

  1. Get Process Explorer.

  2. Enable Show Details for All Processes from the File menu:

    enter image description here

  3. In the main pane, select the process you're interested in:

    enter image description here

  4. Open the context menu (right-click) for the selected process and click Properties:

    enter image description here

  5. On the Threads tab, you'll be able to see a list of the running threads inside that process:

    enter image description here

Symbols

If your troubleshooting requires you to get more detail, it is often very helpful to load debugging symbols into Process Explorer. This is how:

  1. If you don't already have a Windows debugger installed, you're going to have to install the Debugging Tools for Windows first.

  2. In Process Explorer, open Configure Symbols... from the Options menu:

    enter image description here

  3. If you have the Debugging Tools (or another Windows debugger) installed, Process Explorer will automatically find the dbghelp.dll file. Otherwise, set the correct path here.

    enter image description here

    The Symbols path should look something like:

    SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols
    

    The only part you'll want to adjust is C:\Symbols. That's the location where the debugging symbols will be cached.

Der Hochstapler

Posted 2012-08-17T18:14:58.223

Reputation: 77 228

3Omg, why didn't they built it in task manager, it is an obvious feature… – Hi-Angel – 2015-09-03T13:59:05.487

1...obvious feature for devs: Windows is for grandma-level users so it is better kept hidden. – Campa – 2018-09-06T14:40:03.127