次の方法で共有


Debug.WaitForDebugger Method

Definition

Wait until a debugger attaches.

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

Remarks

Wait until a debugger attaches. As soon as the debugger attaches, this returns, so you will need to place a breakpoint after the waitForDebugger() call if you want to start tracing immediately.

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

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