When to attach

When you attach to a running program, it is immediately suspended. In many cases, the program is suspended in operating system code or in the compiled language run time. You might need to add a breakpoint or breakpoints and resume the program to get to a known point where you want to start debugging.

There are two main reasons for attaching the debugger to a process or already running program:

Related tasks
Using compiled language debug launch configurations
Debugging compiled language applications
Attaching to compiled language applications
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.