This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Android.Adb.
Summary
Dumps the heap from a process on the target.
Syntax
public static List<string> AmDumpHeap(this ICakeContext context, string process, FilePath outputFile, string forUser = null, bool dumpNativeHeap = false, AdbToolSettings settings = null)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
Context. |
| process |
string |
Process to dump heap for. |
| outputFile |
FilePath |
Output file to save heap dump to. |
| forUser |
string |
Restrict heap dump to a user. |
| dumpNativeHeap |
bool |
If set to true dump native heap instead. |
| settings |
AdbToolSettings |
Settings. |
Return Value
| Type |
Description |
| List<string> |
The dump heap. |