Open main menu

CDOT Wiki β

Changes

OpenMP Debugging in Visual Studio / Team Debug

346 bytes added, 22:46, 10 December 2017
Multiple Processes
*2. Go to general page and toggle "Break all processes when one process breaks" checkbox
[[File:Process-config.png|1000px|center|Process window]]
In order to add a new process you need to find the .pdb files.
*1. Right click your solution in solution explorer
*2. Select Set Startup Projects
*3. Then set the projects action to Start, Start without debugging or none
[[File:Process-addprocess.png|1000px|center|Process window]] You could also attach a process outside of the debugger to the debugger, including processes on a remote device but your inspection ability is limited.*1. Choose the Debug menu ant click Attach to Process*2. Select the process you want to attach [[File:Process-addprocess.png|1000px|center|Process window]]
You could also set process to automatically start in the debugger – useful for services and custom setup actions
When you have multiple processes, only one process is active in the debugger, but in order to switch between processes, you must be in break mode
[[File:Process-switchprocess.png|1000px|center|Process window]]
When you switch to a process, all windows will show information for that process only
28
edits