Udostępnij za pośrednictwem


Debug.EnableEmulatorTraceOutput Method

Definition

Enable "emulator traces", in which information about the current method is made available to the "emulator -trace" feature.

[Android.Runtime.Register("enableEmulatorTraceOutput", "()V", "")]
public static void EnableEmulatorTraceOutput ();
[<Android.Runtime.Register("enableEmulatorTraceOutput", "()V", "")>]
static member EnableEmulatorTraceOutput : unit -> unit
Attributes

Remarks

Enable "emulator traces", in which information about the current method is made available to the "emulator -trace" feature. There is no corresponding "disable" call -- this is intended for use by the framework when tracing should be turned on and left that way, so that traces captured with F9/F10 will include the necessary data.

This puts the VM into "profile" mode, which has performance consequences.

To temporarily enable tracing, use #startNativeTracing().

This member is deprecated. Please use other tracing method in this class.

Java documentation for android.os.Debug.enableEmulatorTraceOutput().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to