Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
strauss_d_getting_started_with_visual_studio_2022_learning_a.pdf
Скачиваний:
123
Добавлен:
26.06.2023
Размер:
17.04 Mб
Скачать

Chapter 3 Debugging Your Code

Attaching to a Running Process

Attaching to a process allows the Visual Studio Debugger to attach to a running process on the local machine or a remote computer. With the process you want to debug already running, select Debug and click Attach to Process as seen in Figure 3-52. You can also hold down Ctrl+Alt+P to open the Attach to Process window.

Figure 3-52.  Attach to Process

The Attach to Process window is then displayed (Figure 3-53). The connection type must be set to Default, and the connection target must be set to your local machine name.

205