Working With Threads and Processes
Working with threads and processes is an important part of debugging. Visual Studio provides an interface for attaching to running processes you want to debug, for viewing information about attached processes and threads running within those processes, and for controlling the execution of threads and processes you are debugging.
In This Section
- Threads and Processes
Introduces threads and processes, their role in computation, possible bugs that can result from threads and processes, and tools provided by Visual Studio for debugging threads and processes.
- Attaching to Running Processes
Describes how to use the Visual Studio debugger to attach to processes on your machine or a remote machine, set the current process once attached, detach from processes, and deal with attach errors.
- How to: Use the Processes Window
Describes how to use the Processes window to break the execution of a process, continue the execution of a process after a break, detach from the process, or terminate a process.
- Multithreaded and High-Performance Debugging
Describes how to use Visual Studio to debug a multithreaded application on a high-performance cluster. This is supported for C++, Pro and Team Editions only.
Related Sections
- How to: Debug a Remote Cluster Application
Describes how to set up and begin debugging an application on a remote cluster using MPI Cluster Debugging.