Microsoft SDK for Java

setDebugThread

This method of the Debugger Class contains the following signatures:

setDebugThread (Thread t, boolean candebug)
setDebugThread (boolean candebug)

setDebugThread (Thread t, boolean candebug)

Marks or clears the debug state of a thread. Debug events such as exceptions, breakpoints, and so on will not trigger the debugger if this is set on the thread. This state is not re-entrant; that is, a single setDebugThread(false) overrides all instances of setDebugThread(true).

Syntax

public static void setDebugThread (Thread t, boolean candebug)

Parameters

t The thread for which to mark or clear the debug state of a thread.
candebug The flag that indicates the debug state.

setDebugThread (boolean candebug)

Marks or clears the debug state of the current thread.

Syntax

public static void setDebugThread (boolean candebug)

Parameters

candebug The flag that indicates the debug state of the current thread.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.