This tutorial begins after the installation and setup of Intel Parallel Studios. Also, you should already have openMP running properly on your setup.
1. # Create a new project and select the properties. [[File: Properties.png | 200px]]2. # Click the configuration manager at the top right of your properties window. 3. # Create a new configuration [[File: New_Configuration.png | 200px]]4. # Copy your current configuration for the current project (with the working openMP solution) and give the new configuration a nice name[[File: Copy_Old_Configuration.png | 200px]].5. # Go to the C/C++ configuration and then select optimization. Ensure that optimization is turned '''off''' for debugging.[[File: Optimization_Off.png | 200px ]]# Finally, ensure that all threads stop when hitting a breakpoint by editing the debug configuration and enabling the setting Break all processes when one process breaks. [[File:BreakAll.png|200px]]
== How to Debug Multithreaded Application in VS ==