Open main menu

CDOT Wiki β

Changes

GPU621/Pragmatic

64 bytes added, 00:38, 16 November 2016
Added italics to areas that were missing it
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'');
8. Debug Location (Toolbar) - Allows to manipulate processes and threads while debugging the application (Select on ''VIEW > Toolbars > Debug Location'');
Configuration:
# Multiple processes execution behaviour can can be configured by selecting ''DEBUG > Options'', and in ''Options '' dialog by checking/un-checking "Break all processes when one process breaks" checkbox under ''Debugging > General '' tab;# When working with multiple projects in one solution, startup project (One or many) can be set by right clicking on solution and selecting Properties option (Or selecting a solution in ''Solution Explorer '' and pressing Alt + Enter), then (In Property pages dialog) selecting appropriate action for each project in the solution under ''Common Properties > Startup Project '' tab;# To change how ''Stop Debugging '' affects attached processes, open to ''Processes '' window (Crtl + Alt + Z), right click on individual process and check/un-check the "Detach when debugging stopped" check box;
'''Entry on: November 9th 2016 by Vadym Karpenko'''
===How to: Use the Memory Window===
To access ''Memory'' window select ''DEBUG > Windows > Memory > Memory 1/2/3/4 '' (Only during debugging).
To monitor the expression, select the expression in source code and drag it into ''Memory'' window (For variable, simply double click on the variable in the source code and drag selected text into ''Memory'' window). Alternatively, expression (Or address) can be entered into the ''Address'' field (In ''Memory'' window).
54
edits