Changes

Jump to: navigation, search

OpenMP Debugging in Visual Studio / Team Debug

830 bytes added, 18:28, 6 December 2017
Parallel Stacks window
'''Setup:'''
1. When you start debug (F5), click on Debug > Windows > Parallel Stacks. <br/>
'''How to Use:'''
As you step to each breakpoint in your debug program, the Parallel Stacks Window will show all of the threads at that point in your program, and their call stacks.
If our Window is too small that it doesn't fit the entire diagram in, we can click on the "Zoom to 100%" icon underneath the zoom bar so that the whole diagram fits inside the window:
[[File:Parallelstacks-zoom100.PNG|400px|center|Method View]]
 
Furthermore, if we had flagged certain threads, we can click on the Threads icon in the top of the window to see only the stacks for the flagged threads.
 
'''Features:'''
- Stack Frames
[[File:Parallelstacks-frames.PNG|400px|center|Method View]]
When we hover our mouse over any stack frame, we can see details about all the threads that are in the stack frame, and the corresponding code and line in the program.
<br/>
When we right click on a stack frame, we get a bunch of options:
[[File:Parallelstacks-right-click.PNG|400px|center|Method View]]
The options are quite self-explanatory, of which some notable features include going to the source code for a stack frame, going to the Disassembly, flagging/unflagging a thread, or switching to that specific frame, where all of your views will focus on that frame.
==Parallel Tasks window==
92
edits

Navigation menu