The members of Android.OS.Debug are listed below.
See Also: Inherited members from Java.Lang.Object
const | ShowClassloader | DebugShow (2). |
const | ShowFullDetail | DebugShow (1). Flags for printLoadedClasses(). |
const | ShowInitialized | DebugShow (4). |
const | TraceCountAllocs | DebugTraceOptions (1). Flags for startMethodTracing(). |
[read-only] static | BinderDeathObjectCount | int. Returns the number of death notification links to Binder objects that exist in the current process. |
[read-only] static | BinderLocalObjectCount | int. Returns the number of active local Binder objects that exist in the current process. |
[read-only] static | BinderProxyObjectCount | int. Returns the number of references to remote proxy Binder objects that exist in the current process. |
[read-only] static | BinderReceivedTransactions | int. Returns the number of received transactions from the binder driver. |
[read-only] static | BinderSentTransactions | int. Returns the number of sent transactions from this process. |
[read-only] static | GlobalAllocCount | int. Returns the global count of objects allocated by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalAllocSize | int. Returns the global size, in bytes, of objects allocated by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalClassInitCount | int. Returns the number of classes successfully initialized (ie those that executed without throwing an exception) between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalClassInitTime | int. Returns the time spent successfully initializing classes between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalExternalAllocCount | int. This method exists for compatibility and always returns 0. |
[read-only] static | GlobalExternalAllocSize | int. This method exists for compatibility and always returns 0. |
[read-only] static | GlobalExternalFreedCount | int. This method exists for compatibility and always returns 0. |
[read-only] static | GlobalExternalFreedSize | int. This method exists for compatibility and has no effect. |
[read-only] static | GlobalFreedCount | int. Returns the global count of objects freed by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalFreedSize | int. Returns the global size, in bytes, of objects freed by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | GlobalGcInvocationCount | int. Returns the number of non-concurrent GC invocations between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | IsDebuggerConnected | bool. Determine if a debugger is currently attached. |
[read-only] static | LoadedClassCount | int. Get the number of loaded classes. |
[read-only] static | NativeHeapAllocatedSize | long. Returns the amount of allocated memory in the native heap. |
[read-only] static | NativeHeapFreeSize | long. Returns the amount of free memory in the native heap. |
[read-only] static | NativeHeapSize | long. Returns the size of the native heap. |
[read-only] static | Pss | long. Retrieves the PSS memory used by the process as given by the smaps. |
[read-only] static | ThreadAllocCount | int. Returns the thread-local count of objects allocated by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | ThreadAllocSize | int. Returns the thread-local size of objects allocated by the runtime between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] static | ThreadExternalAllocCount | int. This method exists for compatibility and has no effect. |
[read-only] static | ThreadExternalAllocSize | int. This method exists for compatibility and has no effect. |
[read-only] static | ThreadGcInvocationCount | int. Returns the number of thread-local non-concurrent GC invocations between a Debug.StartAllocCounting and Debug.StopAllocCounting. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
static | ChangeDebugPort(int)Change the JDWP port. | |
static | DumpHprofData(string)Dump "hprof" data to the specified file. | |
static | DumpHprofDataAsync(string)Documentation for this section has not yet been entered. | |
static | DumpService(string, Java.IO.FileDescriptor, string[])Get a debugging dump of a system service by name. | |
static | DumpServiceAsync(string, Java.IO.FileDescriptor, string[])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)Establish an object allocation limit in the current thread. | |
static | SetGlobalAllocationLimit(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()Get an indication of thread CPU usage. | |
static | WaitForDebugger()Wait until a debugger attaches. | |
static | WaitingForDebugger()Returns "true" if one or more threads is waiting for a debugger to attach. |