Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

How to: Attach and Detach Profiler to Running Processes

Performance Tools allow you to attach to or detach from a running process that is being sampled. You can use this method when you want to avoid gathering data about application load time, or to monitor the performance of a process after it reaches a specific state.

NoteImportant

The following steps apply to attaching/detaching processes from within the IDE. For information about how to use command line tools, see Command-line Tools. For information about how to profile services, see How to: Profile Services.

To attach to a running process

  1. In Performance Explorer, right-click the performance session, and then click Attach/Detach.

    The Attach Profiler to Process dialog box appears.

  2. Click the image name you want to attach.

  3. Click Attach.

To detach from a running process

  1. In Performance Explorer, right-click the performance session, and then click Attach/Detach.

    The Attach Profiler to Process dialog box appears.

  2. Click the image name from which you want to detach.

  3. Click Detach.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft