You can attach the debugger to an existing process. You may find this necessary when you are debugging your application from outside of the debugger and find a bug.
To attach the debugger to a process:
Once you attach the debugger to a process, the process continues execution until it raises a signal that the debugger intercepts, such as SEGV. If you have set the $stoponattach debugger variable, it stops immediately.
Copyright © 2001-2011, Intel Corporation. All rights reserved.