54
edits
Changes
→Updated the layout of Debug Threads and Processes section, reducing the amount of occupied space
Following are the tools for debugging Threads and Processes in Visual Studio:
[[File:Attach to Process Window.png|200px|thumb|left|alt| Attach to Process Window]]
[[File:Processes Window.png|200px|thumb|right|alt| Processes Window]]
[[File:Threads Window.png|200px|thumb|left|alt| Threads Window]]
[[File:Parallel Stacks Window.png|200px|thumb|right|alt| Parallel Stacks Window]]
[[File:Parallel Tasks Window.png|200px|thumb|left|alt| Parallel Tasks Window]]
[[File:Parallel Watch Window.png|200px|thumb|right|alt| Parallel Watch Window]]
[[File:GPU Threads Window.png|200px|thumb|left|alt| GPU Threads Window]]
[[File:Debug Location Toolbar.png|200px|thumb|right|alt| Debug Location Toolbar]]
1. Attach to Process (Dialog box) - Allows to attach the Visual Studio debugger to a process that is already running (Select on DEBUG > Attach to Process or press Ctrl + Alt + P);
2. Process (Window) - Shows all processes that are currently attached to the Visual Studio debugger (While debugging select DEBUG > Windows > Processes or press Ctrl + Alt + Z);
3. Threads (Window) - Allows to view and manipulate threads (While debugging select DEBUG > Windows > Threads or press Ctrl + Alt + H);
4. Parallel Stacks (Window) - Shows call stack information for all the threads in the application (While debugging select DEBUG > Windows > Parallel Stacks or press Ctrl + Shift + D, S);
5. Parallel Tasks (Window) - Displays all parallel tasks that are currently running as well as tasks that are scheduled for execution (While debugging select DEBUG > Windows > Parallel Tasks or press Ctrl + Shift + D, K);
6. Parallel Watch (Window) - Allows to see and manipulate the values for one expression executed on multiple threads (While debugging select DEBUG > Windows > Parallel Watch > Parallel Watch 1/2/3/4 or press Ctrl + Shift + D, 1/2/3/4);
7. GPU Threads (Window) - Allows to examine and work with threads that are running on the GPU in the application that is being debugged (While debugging select DEBUG > Windows > GPU Threads);
Above mentioned tools can be classified as follows: