You can use a to capture profiling data at a specific point in time. The data captured in a snapshot depends on the type of profiling session in progress when the snapshot is taken.
A snapshot differs from live profiling results in the following ways:
You can only take a snapshot while a profiling session is in progress. You can take a snapshot manually or set a profiling point to take a snapshot automatically at a precise point in your application. When you use a profiling point to take a snapshot, you locate the point in your source code where you want to take a snapshot. For example, you may want to take a snapshot when a thread enters a specific method.
To take a snapshot manually
When you take a snapshot, the snapshot opens in the main editor window. You can then save the snapshot to your project.
To take a snapshot using a profiling point
If you use a profiling point to take a snapshot, you can choose from the following snapshot options:
For each snapshot option you can choose to save the snapshot to your project or you can specify a location.
You can save a snapshot to your project or you can save the snapshot to a location on your local file system. When you save a snapshot to your project, the snapshot is listed under Saved Snapshots in the Profiler window. You can save a snapshot by clicking the Save to Project button in the snapshot toolbar. Alternatively, you can use the Options window to configure the IDE behaviour when taking a snapshot.