Profile/Trace an Upcoming Process

How To ››

Profile/Trace an Upcoming Process


To profile or trace an upcoming process:


    1. Run .NET  Runtime Analyzer. The Application Chooser window will open.

    1. In the Application Chooser window, specify the profiling type. You could choose between Performance Profiler , Memory Profiler and Systems Event Tracker.
      For more details on profiling type, refer to the Profiling Methods section.
    2. In the menu bar, select View Attach Type Attach Upcoming Process.
    3. In the top panel Application To Analyze, select the tab Attach Upcoming Process:

             For the target process specifications, wildcards can be used for example: MyAwesomeCompany.*

Also, you can specify the number of the instance to wait for by using the following syntax <ProcessName>#<InstanceNumber>.
For example: To record the 3rd upcoming process of devenv.exe, use the following: devenv.exe#3

    1. Click Wait for start-up.
    2. Then, wait for the target process(es) to be started. For each matching target process(es), a new document will be displayed. In the following example,
      3 instances of the process devenv.exe are being started.



    1. Before you execute the actual target scenario within your application, please perform the Clear operation to remove profiling/tracing history that was recorded before the target scenario is executed.
    2. Collect profiling/tracing data by clicking Get Results.
    3. Optionally, you can save the snapshot.
    4. Optionally, you can click Detach button to stop profiling/tracing.
    5. Analyze the collected snapshots in the Performance Viewer or Memory Viewer or Systems Event Viewer (depends on the profiling type you select).