Android.OS.Debug: Method Members

The methods of Android.OS.Debug are listed below. For a list of all members, see the Debug Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
ChangeDebugPort(int)
Change the JDWP port.
static
DumpHprofData(string)
Dump "hprof" data to the specified file.
static
DumpHprofDataAsync(string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
static
DumpService(string, Java.IO.FileDescriptor, string[]) : bool
Get a debugging dump of a system service by name.
static
DumpServiceAsync(string, Java.IO.FileDescriptor, string[]) : System.Threading.Tasks.Task<bool>
Documentation for this section has not yet been entered.
static
EnableEmulatorTraceOutput()
Enable "emulator traces", in which information about the current method is made available to the "emulator -trace" feature.
static
GetMemoryInfo(Debug.MemoryInfo)
Retrieves information about this processes memory usages.
static
PrintLoadedClasses(DebugShow)
Dump a list of all currently loaded class to the log file.
static
ResetAllCounts()
Clears all the global and thread-local memory allocation counters.
static
ResetGlobalAllocCount()
Clears the global count of objects allocated.
static
ResetGlobalAllocSize()
Clears the global size of objects allocated.
static
ResetGlobalClassInitCount()
Clears the count of classes initialized.
static
ResetGlobalClassInitTime()
Clears the count of time spent initializing classes.
static
ResetGlobalExternalAllocCount()
This method exists for compatibility and has no effect.
static
ResetGlobalExternalAllocSize()
This method exists for compatibility and has no effect.
static
ResetGlobalExternalFreedCount()
This method exists for compatibility and has no effect.
static
ResetGlobalExternalFreedSize()
This method exists for compatibility and has no effect.
static
ResetGlobalFreedCount()
Clears the global count of objects freed.
static
ResetGlobalFreedSize()
Clears the global size of objects freed.
static
ResetGlobalGcInvocationCount()
Clears the count of non-concurrent GC invocations.
static
ResetThreadAllocCount()
Clears the thread-local count of objects allocated.
static
ResetThreadAllocSize()
Clears the thread-local count of objects allocated.
static
ResetThreadExternalAllocCount()
This method exists for compatibility and has no effect.
static
ResetThreadExternalAllocSize()
This method exists for compatibility and has no effect.
static
ResetThreadGcInvocationCount()
Clears the thread-local count of non-concurrent GC invocations.
static
SetAllocationLimit(int) : int
Establish an object allocation limit in the current thread.
static
SetGlobalAllocationLimit(int) : int
Establish a global object allocation limit.
static
StartAllocCounting()
Start counting the number and aggregate size of memory allocations.
static
StartMethodTracing()
Start method tracing with default log name and buffer size.
static
StartMethodTracing(string)
Start method tracing, specifying the trace log file name.
static
StartMethodTracing(string, int)
Start method tracing, specifying the trace log file name and the buffer size.
static
StartMethodTracing(string, int, DebugTraceOptions)
Start method tracing, specifying the trace log file name and the buffer size.
static
StartMethodTracingSampling(string, int, int)
Start sampling-based method tracing, specifying the trace log file name, the buffer size, and the sampling interval.
static
StartNativeTracing()
Enable qemu tracing.
static
StopAllocCounting()
Stop counting the number and aggregate size of memory allocations.
static
StopMethodTracing()
Stop method tracing.
static
StopNativeTracing()
Stop qemu tracing.
static
ThreadCpuTimeNanos() : long
Get an indication of thread CPU usage.
static
WaitForDebugger()
Wait until a debugger attaches.
static
WaitingForDebugger() : bool
Returns "true" if one or more threads is waiting for a debugger to attach.