Open main menu

CDOT Wiki β

Changes

OpenMP Debugging in Visual Studio / Team Debug

139 bytes removed, 18:10, 5 December 2017
Case B - Using the Parallel Stacks Window
1. Put a breakpoint at all function calls, all function definitions, cilk_sync, and cilk_for.<br/>
2. To be able to see more detailed debug info in the Parallel Stacks Window, go to Debug > Options, and under Debugging > General uncheck "Enable Just My Code", and under Debugging > Symbols put a checkmark on "Microsoft Symbol Servers".
Step 1)
At our first breakpoint, at
cilk_spawn foo()
we can see in the Threads window the Main Thread:
==Case C==
92
edits