Debugging Tools for Windows |
The SetMatchThreadId method sets the engine thread ID of the thread that can trigger a breakpoint.
HRESULT
IDebugBreakpoint::SetMatchThreadId(
IN ULONG Thread
);
SetMatchThreadId might return one of the following values:
This method might also return other error values. For more information about possible return values, see Return Values.
If you have set a thread for the breakpoint, the breakpoint can be triggered only if that thread hits the breakpoint. If you have not set a thread, any thread can trigger the breakpoint.
If you have set a thread, you can remove the setting by setting Id to DEBUG_ANY_ID.
For more information about breakpoint properties, see Controlling Breakpoint Flags and Parameters.
Versions: Available in all versions of IDebugBreakpoint.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.