API Reference
MemoryProfiler class
Properties of the MemoryProfiler class
Name | Type | Description |
---|---|---|
| | Check whether the API is enabled. |
| | Check whether the recording of the creation stack trace information is turned on. |
| | Check whether the profiler was attached to an already running application. |
Methods of the MemoryProfiler class
Name | Description |
---|---|
| Get a memory snapshot. |
| Turn on recording of the creation stack trace information. |
| Turn off recording of the creation stack trace information. |
| Detach dotMemory from the profiled process. This method is suitable only in case you attach the profiler to an already running process. |
SelfAttach class
Properties of the SelfAttach class
Item | Type | Description |
---|---|---|
| | Indicates the profiler state:
|
Methods of the SelfAttach class
Item | Description |
---|---|
| Attaches the profiler to the calling application with supplied configuration |
| Shows the profiling controller to a user. |
BaseProfilingConfig class public fields
Item | Type | Description |
---|---|---|
| | Defines the profiling control method:
|
| | Defines the profiling method:
|
| | Defines location of dotTrace SDK redistributables. By default, they are searched in the same folder where JetBrains.Profiler.Windows.Api.dll is located. |
BaseSnapshotProfilingConfig class public fields
Item | Type | Description |
---|---|---|
| | Defines a path and a base file name for the resulting snapshot. Required for this configuration. |
| | Defines a file format for a snapshot. Use only the |
SaveSnapshotProfilingConfig class public fields
Item | Type | Description |
---|---|---|
| | Defines a file name for a file which lists snapshots collected during profiling. Required for this configuration. |
ExecutableSnapshotProfilingConfig class public fields
Item | Type | Description |
---|---|---|
| | Defines the path to the executable file to run after profiling is completed. The snapshot path will be passed as a parameter to this executable file. Required for this configuration. |