ActivityManagerAliases.

AmDumpHeap(ICakeContext, string, FilePath, string, bool, AdbToolSettings) Method

Summary

Dumps the heap from a process on the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
ActivityManagerAliases

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.