Open main menu

CDOT Wiki β

Changes

GPU621/Debugging OpenMP

834 bytes added, 00:05, 29 November 2022
Multiple Processes
== Multiple Processes ==
// TODO: Explain why and how to run multiple processes in one or more projects in VS (long)=== Background ===
// use this: https://learn.microsoftVisual Studio supports the creation of solutions with multiple processes.com/en-us/visualstudio/Visual Studio's debugger/debug-multiplewill by default run the first project (selected in bold), but this can be changed in the Solution Explorer by right-clicking on a different project and selecting '''Set as Startup Project'''. This will allow you when debugging to switch between processes, as well as break, stop, and continue currently debugging processes?view. === Setup ===vs To set the startup project or multiple projects: 1. Right-2022click the solution in the Solution Explorer and select Properties.2. In the Properties window, select Common Properties > Startup Project.3. Here you can change the Startup Project to either the currently selected project, a single startup project (this is selected by default), or multiple startup projects.4. When selecting Multiple startup projects, you can modify the execution order and action for each project between Start, Start without debugging, or None. 5. Save your settings by selected Apply or OK.
= User Interface =
40
edits