Table of Contents

Class Debug

Namespace
Android.Os
Assembly
MASES.Netdroid.dll
public class Debug : JVMBridgeBase<Debug>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
Debug
Implements
Extension Methods

Constructors

Debug(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Debug(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

SHOW_CLASSLOADER

public static int SHOW_CLASSLOADER { get; set; }

Property Value

int

SHOW_FULL_DETAIL

public static int SHOW_FULL_DETAIL { get; set; }

Property Value

int

SHOW_INITIALIZED

public static int SHOW_INITIALIZED { get; set; }

Property Value

int

TRACE_COUNT_ALLOCS

[Obsolete("Deprecated in JVM")]
public static int TRACE_COUNT_ALLOCS { get; set; }

Property Value

int

Methods

AttachJvmtiAgent(String, String, ClassLoader)

public static void AttachJvmtiAgent(String arg0, String arg1, ClassLoader arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 ClassLoader

ClassLoader

Exceptions

IOException

ChangeDebugPort(int)

[Obsolete("Deprecated in JVM")]
public static void ChangeDebugPort(int arg0)

Parameters

arg0 int

int

DumpHprofData(String)

public static void DumpHprofData(String arg0)

Parameters

arg0 String

String

Exceptions

IOException

DumpService(String, FileDescriptor, String[])

public static bool DumpService(String arg0, FileDescriptor arg1, String[] arg2)

Parameters

arg0 String

String

arg1 FileDescriptor

FileDescriptor

arg2 String[]

String

Returns

bool

bool

EnableEmulatorTraceOutput()

[Obsolete("Deprecated in JVM")]
public static void EnableEmulatorTraceOutput()

GetBinderDeathObjectCount()

public static int GetBinderDeathObjectCount()

Returns

int

int

GetBinderLocalObjectCount()

public static int GetBinderLocalObjectCount()

Returns

int

int

GetBinderProxyObjectCount()

public static int GetBinderProxyObjectCount()

Returns

int

int

GetBinderReceivedTransactions()

public static int GetBinderReceivedTransactions()

Returns

int

int

GetBinderSentTransactions()

public static int GetBinderSentTransactions()

Returns

int

int

GetGlobalAllocCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalAllocCount()

Returns

int

int

GetGlobalAllocSize()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalAllocSize()

Returns

int

int

GetGlobalClassInitCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalClassInitCount()

Returns

int

int

GetGlobalClassInitTime()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalClassInitTime()

Returns

int

int

GetGlobalExternalAllocCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalExternalAllocCount()

Returns

int

int

GetGlobalExternalAllocSize()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalExternalAllocSize()

Returns

int

int

GetGlobalExternalFreedCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalExternalFreedCount()

Returns

int

int

GetGlobalExternalFreedSize()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalExternalFreedSize()

Returns

int

int

GetGlobalFreedCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalFreedCount()

Returns

int

int

GetGlobalFreedSize()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalFreedSize()

Returns

int

int

GetGlobalGcInvocationCount()

[Obsolete("Deprecated in JVM")]
public static int GetGlobalGcInvocationCount()

Returns

int

int

GetLoadedClassCount()

public static int GetLoadedClassCount()

Returns

int

int

GetMemoryInfo(MemoryInfo)

public static void GetMemoryInfo(Debug.MemoryInfo arg0)

Parameters

arg0 Debug.MemoryInfo

Debug.MemoryInfo

GetNativeHeapAllocatedSize()

public static long GetNativeHeapAllocatedSize()

Returns

long

long

GetNativeHeapFreeSize()

public static long GetNativeHeapFreeSize()

Returns

long

long

GetNativeHeapSize()

public static long GetNativeHeapSize()

Returns

long

long

GetPss()

public static long GetPss()

Returns

long

long

GetRss()

public static long GetRss()

Returns

long

long

GetRuntimeStat(String)

public static String GetRuntimeStat(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetRuntimeStats()

public static Map<String, String> GetRuntimeStats()

Returns

Map<String, String>

Map

GetThreadAllocCount()

[Obsolete("Deprecated in JVM")]
public static int GetThreadAllocCount()

Returns

int

int

GetThreadAllocSize()

[Obsolete("Deprecated in JVM")]
public static int GetThreadAllocSize()

Returns

int

int

GetThreadExternalAllocCount()

[Obsolete("Deprecated in JVM")]
public static int GetThreadExternalAllocCount()

Returns

int

int

GetThreadExternalAllocSize()

[Obsolete("Deprecated in JVM")]
public static int GetThreadExternalAllocSize()

Returns

int

int

GetThreadGcInvocationCount()

[Obsolete("Deprecated in JVM")]
public static int GetThreadGcInvocationCount()

Returns

int

int

IsDebuggerConnected()

public static bool IsDebuggerConnected()

Returns

bool

bool

PrintLoadedClasses(int)

public static void PrintLoadedClasses(int arg0)

Parameters

arg0 int

int

ResetAllCounts()

[Obsolete("Deprecated in JVM")]
public static void ResetAllCounts()

ResetGlobalAllocCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalAllocCount()

ResetGlobalAllocSize()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalAllocSize()

ResetGlobalClassInitCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalClassInitCount()

ResetGlobalClassInitTime()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalClassInitTime()

ResetGlobalExternalAllocCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalExternalAllocCount()

ResetGlobalExternalAllocSize()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalExternalAllocSize()

ResetGlobalExternalFreedCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalExternalFreedCount()

ResetGlobalExternalFreedSize()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalExternalFreedSize()

ResetGlobalFreedCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalFreedCount()

ResetGlobalFreedSize()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalFreedSize()

ResetGlobalGcInvocationCount()

[Obsolete("Deprecated in JVM")]
public static void ResetGlobalGcInvocationCount()

ResetThreadAllocCount()

[Obsolete("Deprecated in JVM")]
public static void ResetThreadAllocCount()

ResetThreadAllocSize()

[Obsolete("Deprecated in JVM")]
public static void ResetThreadAllocSize()

ResetThreadExternalAllocCount()

[Obsolete("Deprecated in JVM")]
public static void ResetThreadExternalAllocCount()

ResetThreadExternalAllocSize()

[Obsolete("Deprecated in JVM")]
public static void ResetThreadExternalAllocSize()

ResetThreadGcInvocationCount()

[Obsolete("Deprecated in JVM")]
public static void ResetThreadGcInvocationCount()

SetAllocationLimit(int)

[Obsolete("Deprecated in JVM")]
public static int SetAllocationLimit(int arg0)

Parameters

arg0 int

int

Returns

int

int

SetGlobalAllocationLimit(int)

[Obsolete("Deprecated in JVM")]
public static int SetGlobalAllocationLimit(int arg0)

Parameters

arg0 int

int

Returns

int

int

StartAllocCounting()

[Obsolete("Deprecated in JVM")]
public static void StartAllocCounting()

StartMethodTracing()

public static void StartMethodTracing()

StartMethodTracing(String)

public static void StartMethodTracing(String arg0)

Parameters

arg0 String

String

StartMethodTracing(String, int)

public static void StartMethodTracing(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

StartMethodTracing(String, int, int)

public static void StartMethodTracing(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

StartMethodTracingSampling(String, int, int)

public static void StartMethodTracingSampling(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

StartNativeTracing()

public static void StartNativeTracing()

StopAllocCounting()

[Obsolete("Deprecated in JVM")]
public static void StopAllocCounting()

StopMethodTracing()

public static void StopMethodTracing()

StopNativeTracing()

public static void StopNativeTracing()

ThreadCpuTimeNanos()

public static long ThreadCpuTimeNanos()

Returns

long

long

WaitForDebugger()

public static void WaitForDebugger()

WaitingForDebugger()

public static bool WaitingForDebugger()

Returns

bool

bool