Android.OS.Debug Class
Provides various debugging methods for Android applications, including tracing and allocation counts.

See Also: Debug Members

Syntax

[Android.Runtime.Register("android/os/Debug", DoNotGenerateAcw=true)]
public sealed class Debug : Java.Lang.Object

Remarks

Provides various debugging methods for Android applications, including tracing and allocation counts.

Logging Trace Files

Debug can create log files that give details about an application, such as a call stack and start/stop times for any running methods. See Traceview: A Graphical Log Viewer for information about reading trace files. To start logging trace files, call one of the startMethodTracing() methods. To stop tracing, call Debug.StopMethodTracing.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1