Index of All Documentation » Wing Pro Reference Manual » Advanced Debugging Topics » Attaching and Detaching »

The Attach to Process item in the Debug menu is available whenever no other debug process is attached to the IDE. This brings up a dialog box that includes a list of available processes to attach to. The list is built from hard-wired host/port pairs given with the Common Attach Hosts preference, combined with known processes that were previously attached to Wing Pro.

Wing updates the list of available processes as debug sessions are terminated from the IDE, as they are seen to exit from the outside while attached to Wing, or when the process cannot be contacted by Wing.

To attach to a process, select it from the list and push the Attach button. You may also type in a host/port value manually if your choice is not on the list (see Identifying Foreign Processes).

Once you are attached to a process, it continues running until it reaches a breakpoint, unhandled exception, or you Pause it.