40
edits
Changes
→Debugging
=== Debugging ===
==== Switching Between Processes ====
While you've done all this work to be able to use multiple processes, only one process can be debugged at a time. You will need to break all processes in order to switch between processes. There are two ways to set the current process:
# Open the Debug Location toolbar through View > Toolbars > Debug Location.
# While you are debugging, select the process to set on the Debug Location toolbar.
The other method is to use the processes window.
# While you are debugging, open the processes window through Debug > Windows > Processes.
# Double-click the process you want to set as the current process. The current active process is marked by a yellow arrow.
You can now start debugging multiple processes with Visual Studio! You can break, step, and continue processes independent of each other, as well as being able to switch between multiple active processes in your solution. The next step is to familiarize yourself with the Visual Studio parallelization user interface.
=== Stopping Debugging ===
When you stop debugging, the process is ended by default. This will detach the debugger from any attached applications if necessary and then end the process. This will keep the previously attached process running. You can change this default setting by right-clicking the process in the Processes window and clearing the '''Detach when debugging stopped''' option.
= User Interface =