Open main menu

CDOT Wiki β

Changes

OpenMP Debugging in Visual Studio / Team Debug

711 bytes added, 18:01, 6 December 2017
Parallel Watch window
==Parallel Watch window==
 
 
The Parallel Watch Window allows you to "watch" the values of an expression on multiple threads.
 
'''Setup:'''
 
1. When you start debugging (F5), click on Debug > Windows > Parallel Watch > and choose up to four Parallel Watch Windows, as you need.<br/>
2. Add in the column <Add Watch> any expressions you want to by typing it in, or right-clicking on the variable/method inside your code and clicking on "Add Parallel Watch".
 
'''How To Use:'''
 
 
The Parallel Watch Window is very simple to use. As you go through each breakpoint, the Window will show you the threads that are associated to the current stack frame, as well as the expression you have added to watch, and what the value is in that thread.
==GPU Threads window==
92
edits