Compartir a través de


ContinueDebugEvent (Windows CE 5.0)

Send Feedback

This function enables a debugger to continue a thread that previously reported a debugging event.

BOOL ContinueDebugEvent( DWORDdwProcessId,DWORDdwThreadId,DWORDdwContinueStatus );

Parameters

  • dwProcessId
    [in] Specifies the ID for the process to continue.

  • dwThreadId
    [in] Specifies the ID for the thread to continue.

    The combination of process identifier and thread identifier must identify a thread that has previously reported a debugging event.

  • dwContinueStatus
    [in] Specifies how to continue the thread that reported the debugging event.

    If the DBG_CONTINUE flag is specified for this parameter and the thread specified by the dwThreadId parameter previously reported an EXCEPTION_DEBUG_EVENT debugging event, the function stops all exception processing and continues the thread.

    For any other debugging event, this flag continues the thread.

    If the DBG_EXCEPTION_NOT_HANDLED flag is specified for this parameter and the thread specified by dwThreadId previously reported an EXCEPTION_DEBUG_EVENT debugging event, the function continues exception processing.

    If this is a first-chance exception event, the search and dispatch logic of the structured exception handler is used; otherwise, the process is terminated.

    For any other debugging event, this flag continues the thread.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Remarks

Only the thread that created dwProcessId with the CreateProcess function can call ContinueDebugEvent.

After ContinueDebugEvent succeeds, the specified thread continues.

Depending on the debugging event previously reported by the thread, different actions occur:

  • If the continued thread previously reported an EXIT_THREAD_DEBUG_EVENT debugging event, ContinueDebugEvent closes the handle the debugger has to the thread.
  • If the continued thread previously reported an EXIT_PROCESS_DEBUG_EVENT debugging event, ContinueDebugEvent closes the handles the debugger has to the process and to the thread.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

CreateProcess

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.