please dont rip this site Prev Next

DEBUG_EVENT info  Overview  Group

The DEBUG_EVENT structure describes a debugging event.

typedef struct _DEBUG_EVENT { // de 

    DWORD dwDebugEventCode; 

    DWORD dwProcessId; 

    DWORD dwThreadId; 

    union { 

        EXCEPTION_DEBUG_INFO Exception; 

        CREATE_THREAD_DEBUG_INFO CreateThread; 

        CREATE_PROCESS_DEBUG_INFO CreateProcessInfo; 

        EXIT_THREAD_DEBUG_INFO ExitThread; 

        EXIT_PROCESS_DEBUG_INFO ExitProcess; 

        LOAD_DLL_DEBUG_INFO LoadDll; 

        UNLOAD_DLL_DEBUG_INFO UnloadDll; 

        OUTPUT_DEBUG_STRING_INFO DebugString; 

        RIP_INFO RipInfo; 

    } u; 

} DEBUG_EVENT; 

 

Members

dwDebugEventCode
Specifies a debugging event code that identifies the type of debugging event. This parameter can be one of the following values:

Value

Meaning

EXCEPTION_DEBUG_EVENT

Reports an exception debugging event. The value of u.Exception specifies an EXCEPTION_DEBUG_INFO structure.

CREATE_THREAD_DEBUG_EVENT

Reports a create-thread debugging event. The value of u.CreateThread specifies a CREATE_THREAD_DEBUG_INFO structure.

CREATE_PROCESS_DEBUG_EVENT

Reports a create-process debugging event. The value of u.CreateProcessInfo specifies a CREATE_PROCESS_DEBUG_INFO structure.

EXIT_THREAD_DEBUG_EVENT

Reports an exit-thread debugging event. The value of u.ExitThread specifies an EXIT_THREAD_DEBUG_INFO structure.

EXIT_PROCESS_DEBUG_EVENT

Reports an exit-process debugging event. The value of u.ExitProcess specifies an EXIT_PROCESS_DEBUG_INFO structure.

LOAD_DLL_DEBUG_EVENT

Reports a load-dynamic-link-library (DLL) debugging event. The value of u.LoadDll specifies a LOAD_DLL_DEBUG_INFO structure.

UNLOAD_DLL_DEBUG_EVENT

Reports an unload-DLL debugging event. The value of u.UnloadDll specifies an UNLOAD_DLL_DEBUG_INFO structure.

OUTPUT_DEBUG_STRING_EVENT

Reports an output-debugging-string debugging event. The value of u.DebugString specifies an OUTPUT_DEBUG_STRING_INFO structure.

RIP_EVENT

Reports a RIP-debugging event (system debugging error). The value of u.RipInfo specifies a RIP_INFO structure.

dwProcessId
Specifies the identifier of the process in which the debugging event occurred. A debugger uses this value to locate the debugger’s per-process structure. These values are not necessarily small integers that can be used as table indices.
dwThreadId
Specifies the identifier of the thread in which the debugging event occurred. A debugger uses this value to locate the debugger’s per-thread structure. These values are not necessarily small integers that can be used as table indices.
u
Specifies additional information relating to the debugging event. This union takes on the type and value appropriate to the type of debugging event, as described in the dwDebugEventCode member.

Remarks

If the WaitForDebugEvent function succeeds, it fills in the members of a DEBUG_EVENT structure.

See Also

CREATE_PROCESS_DEBUG_INFO, CREATE_THREAD_DEBUG_INFO, EXIT_PROCESS_DEBUG_INFO, EXIT_THREAD_DEBUG_INFO, EXCEPTION_DEBUG_INFO, LOAD_DLL_DEBUG_INFO, OUTPUT_DEBUG_STRING_INFO, UNLOAD_DLL_DEBUG_INFO, WaitForDebugEvent


file: /Techref/os/win/api/win32/struc/src/str03_10.htm, 7KB, , updated: 2000/4/7 12:20, local time: 2024/4/23 12:22,
TOP NEW HELP FIND: 
18.224.44.108:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/techref/os/win/api/win32/struc/src/str03_10.htm"> DEBUG_EVENT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .