To attach to a .NET process
  1. Start dotTrace as a standalone application.
  2. Do one of the following:
    • On the menu bar, choose File | Profile. The Profile dialog box opens. Select Attach to Process, then click OK or just double-click .NET Process.
    • Click Profile on the Home tab. Click Attach to Process in the list.
    The Profiler Configuration dialog box opens. For more information, see .
  3. By default, your application is profiled on the local computer. If you want to start profiling on a remote computer, do one of the following:
    • Click Profile on remote computer to specify a remote agent url and thereby define what remote agent to use.
    • Select a remote host in the Host drop-down list and click it.
    For more information, see.
  4. Click a process to be profiled in the Processes list.
  5. Specify which method you want to use for time measurement by selecting an item in the Measure drop-down list. For more information, see .
  6. If the Start profiling immediately check box is selected, dotTrace Performance starts gathering performance data immediately after you click Run and close the current dialog. Otherwise, dotTrace Performance waits until you press Start Profiling in the dotTrace Performance Controller window. For more information, see .
  7. Optionally, click the arrow to display and configure additional settings, such as Merge threads with equal names and Use profiler API.
  8. Click Run.