Table of Contents

Class Debug

Namespace
Android.Os
Assembly
MASES.Netdroid.dll
public class Debug : JVMBridgeBase<Debug>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Debug>
Debug
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Debug>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Debug>.IsAssignableFrom<T>()
JVMBridgeBase<Debug>.Execute<T>(params T[])
JVMBridgeBase<Debug>.DynBridgeClazz
JVMBridgeBase<Debug>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Debug()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Debug()

Debug(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Debug(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

SHOW_CLASSLOADER

public static int SHOW_CLASSLOADER { get; }

Property Value

int

SHOW_FULL_DETAIL

public static int SHOW_FULL_DETAIL { get; }

Property Value

int

SHOW_INITIALIZED

public static int SHOW_INITIALIZED { get; }

Property Value

int

TRACE_COUNT_ALLOCS

[Obsolete]
public static int TRACE_COUNT_ALLOCS { get; }

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]
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]
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]
public static int GetGlobalAllocCount()

Returns

int

int

GetGlobalAllocSize()

[Obsolete]
public static int GetGlobalAllocSize()

Returns

int

int

GetGlobalClassInitCount()

[Obsolete]
public static int GetGlobalClassInitCount()

Returns

int

int

GetGlobalClassInitTime()

[Obsolete]
public static int GetGlobalClassInitTime()

Returns

int

int

GetGlobalExternalAllocCount()

[Obsolete]
public static int GetGlobalExternalAllocCount()

Returns

int

int

GetGlobalExternalAllocSize()

[Obsolete]
public static int GetGlobalExternalAllocSize()

Returns

int

int

GetGlobalExternalFreedCount()

[Obsolete]
public static int GetGlobalExternalFreedCount()

Returns

int

int

GetGlobalExternalFreedSize()

[Obsolete]
public static int GetGlobalExternalFreedSize()

Returns

int

int

GetGlobalFreedCount()

[Obsolete]
public static int GetGlobalFreedCount()

Returns

int

int

GetGlobalFreedSize()

[Obsolete]
public static int GetGlobalFreedSize()

Returns

int

int

GetGlobalGcInvocationCount()

[Obsolete]
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]
public static int GetThreadAllocCount()

Returns

int

int

GetThreadAllocSize()

[Obsolete]
public static int GetThreadAllocSize()

Returns

int

int

GetThreadExternalAllocCount()

[Obsolete]
public static int GetThreadExternalAllocCount()

Returns

int

int

GetThreadExternalAllocSize()

[Obsolete]
public static int GetThreadExternalAllocSize()

Returns

int

int

GetThreadGcInvocationCount()

[Obsolete]
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]
public static void ResetAllCounts()

ResetGlobalAllocCount()

[Obsolete]
public static void ResetGlobalAllocCount()

ResetGlobalAllocSize()

[Obsolete]
public static void ResetGlobalAllocSize()

ResetGlobalClassInitCount()

[Obsolete]
public static void ResetGlobalClassInitCount()

ResetGlobalClassInitTime()

[Obsolete]
public static void ResetGlobalClassInitTime()

ResetGlobalExternalAllocCount()

[Obsolete]
public static void ResetGlobalExternalAllocCount()

ResetGlobalExternalAllocSize()

[Obsolete]
public static void ResetGlobalExternalAllocSize()

ResetGlobalExternalFreedCount()

[Obsolete]
public static void ResetGlobalExternalFreedCount()

ResetGlobalExternalFreedSize()

[Obsolete]
public static void ResetGlobalExternalFreedSize()

ResetGlobalFreedCount()

[Obsolete]
public static void ResetGlobalFreedCount()

ResetGlobalFreedSize()

[Obsolete]
public static void ResetGlobalFreedSize()

ResetGlobalGcInvocationCount()

[Obsolete]
public static void ResetGlobalGcInvocationCount()

ResetThreadAllocCount()

[Obsolete]
public static void ResetThreadAllocCount()

ResetThreadAllocSize()

[Obsolete]
public static void ResetThreadAllocSize()

ResetThreadExternalAllocCount()

[Obsolete]
public static void ResetThreadExternalAllocCount()

ResetThreadExternalAllocSize()

[Obsolete]
public static void ResetThreadExternalAllocSize()

ResetThreadGcInvocationCount()

[Obsolete]
public static void ResetThreadGcInvocationCount()

SetAllocationLimit(int)

[Obsolete]
public static int SetAllocationLimit(int arg0)

Parameters

arg0 int

int

Returns

int

int

SetGlobalAllocationLimit(int)

[Obsolete]
public static int SetGlobalAllocationLimit(int arg0)

Parameters

arg0 int

int

Returns

int

int

StartAllocCounting()

[Obsolete]
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]
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