Open main menu

CDOT Wiki β

Changes

GPU621/Striking

306 bytes added, 13:33, 8 December 2016
Progress
# put breakpoints where you want to take a look by hitting the key F9 in the line or left-click at the front of a line
# Run the program in Debug mode by hitting the green button (or key F5)
# Go to the menu Debug -> Windows to open the windows you need( see the image below)
# Choose the windows that you need (e.g. Memory, Threads, Parallel Stacks, Local or Auto and so on.)
# Hit the function keys to run a program
## Shit +F11 to get out of a subroutine (Step Out)
## F9 to put/remove breakpoints in a line
 
 
(To open windows you need for debugging on Visual Studio, You must run a program in debug mode first)
[[File:debug_windows.png]]
 
*Sample code results
# Understanding a program is important; using a serial program version, follow codes line by line to understand the program. (Parallel programming usually starts from a serial version.)
# Use the simple data for the first time to keep track of data flow in a memory, and then increase data volume for the program.
# When you missed the step you want to take a look in run-time debug mode, it will be better to start from the beginning in debug mode as data situation have already changed, and threads invocation also has been passed.
# To open windows you need for debugging on Visual Studio, You must run a program in debug mode first. Otherwise, there is no menu to open the windows.
108
edits