Changes

Jump to: navigation, search

OpenMP Debugging in Visual Studio / Team Debug

6 bytes added, 18:28, 6 December 2017
Parallel Stacks window
We can also see a Method View. By clicking on the "Toggle Method View" icon on the top of the Window, we will see the current highlighted thread stack in an organization that shows the call stack for only that thread, with a focus on the method that calls the current selected stack frame, as well as the method it calls. Here is the Method View for the current thread:
[[File:Parallelstacks-methodview.PNG|400px300px|center|Method View]]
And if we double click on any of the other stack frames, it will be made the focus of the view, with the calling method below it and the called method above:
[[File:Parallelstacks-methodview2.PNG|400px|center|Method View]]
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|400px300px|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:'''<br/>
- Stack Frames
[[File:Parallelstacks-frames.PNG|400px300px|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|400px300px|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.
92
edits

Navigation menu