Open main menu

CDOT Wiki β

Changes

GPU621/Pragmatic

307 bytes added, 18:05, 7 November 2016
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);
[[File:Attach to Process Window.png|800px]]
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);
[[File:Processes Window.png|800px]]
3. Threads (Window) - Allows to view and manipulate threads (While debugging select DEBUG > Windows > Threads or press Ctrl + Alt + H);
[[File:Threads Window.png|800px]]
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);
[[File:Parallel Stacks Window.png|800px]]
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);
[[File:Parallel Tasks Window.png|800px]]
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);
[[File:Parallel Watch Window.png|800px]]
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);
[[File:GPU Threads Window.png|800px]]
98. Debug Location (Toolbar) - Allows to manipulate processes and threads while debugging the application (Select on VIEW > Toolbars > Debug Location);
[[File:Debug Location Toolbar.png|800px]]
Above mentioned tools can be classified as follows:
54
edits