You can attach to a process that is running on your computer or on a remote computer. This is useful for debugging a program that was not created with RAD Studio.
To attach to a running process
- Choose RunAttach to Process to display the Attach to Process dialog box.
- Select either CodeGear .NET Debugger or CodeGear Win32 Debugger from the Debugger drop-down list, depending on whether you want to attach to a .NET or Win32 process. The list of Running Processes is refreshed to display the appropriate processes. For Win32 processes, you can also check Show System Processes to include system processes in the list.
- If the process is running on a remote computer, enter the name the computer in the Remote Machine field
Note: The remote debug server must be running on the remote computer.
- Select a process from the list of Running Processes.
- If you do not want the process to pause after you have attached to it, uncheck Pause After Attach.
- Click Attach.