Debug.DumpHprofData(String) Debug.DumpHprofData(String) Method

Definition

Dump "hprof" data to the specified file.

[Android.Runtime.Register("dumpHprofData", "(Ljava/lang/String;)V", "", ApiSince=3)]
public static void DumpHprofData (string fileName);
static member DumpHprofData : string -> unit

Parameters

fileName
String String

Full pathname of output file (e.g. "/sdcard/dump.hprof").

Exceptions

if the VM was built without HPROF support.

if an error occurs while opening or writing files.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to