Changes

Jump to: navigation, search

OpenMP Debugging in Visual Studio / Team Debug

1,576 bytes added, 08:00, 8 December 2017
Threads window
==Threads window==
The Thread Window shows Thread list with the detailed information in your application, You can filter thread list and see the particular information.
[[File:thread_window.png|700px|center|Thread window1]]
 
 
 
 
Setup:
 
1. When you start debug (F5), click on DEBUG > Windows > Threads.
 
2. You can filter by using flag and "Show Flag Threads Only" icon on the top of the Thread window.
 
3. You can show and hide the information columns by using "Columns" dropdown list on the top of the Thread window.
 
 
How to Use:
 
Turn on flags on the thread you want to see, and choose "Show Flag Threads Only" to filter them.
Choose which information to show or hide from the "Columns" dropdown list.
Sort the list by the information on the column by using "Group by" dropdown list if it is necessary.
 
 
Columns:
 
*flag column: you can mark a thread with red flags to pay attention or thread list filtering.
 
*active thread column: a yellow arrow indicates an active thread. An outline of an arrow indicates the thread where execution broke into the debugger.
 
*ID: the identification number for each thread.
[[File*Managed ID:thread_windowthe managed identification numbers for managed threads. *Category: categorizes threads as user interface threads, remote procedure call handlers, or worker threads and main threads *Name: thread name if it has, otherwise shows <No Name>. *Location: where the thread is running.png|700px|center|Thread window1]]
-shortcut*Priority: the priority or precedence that the system has assigned to each thread.
-how to open *Affinity Mask: determines which processors on which a thread can run In a multiprocessor system.
-description/how to use *Suspended Count: the count determines whether a thread can run.
-info you can see*Process Name: the process to which each thread belongs.
==Source window==
On the top right corner, there is a box where you can put a Boolean expression on which the window will filter the threads. So in our example, if we put i == 1, it will only show the one thread that has i = 1.
[[File:Parallelwatch-boolean.PNG|300px500px|center|Parallel Watch]]
==GPU Threads window==
190
edits

Navigation menu