IDebugEventCallbacks interface

Members

The IDebugEventCallbacks interface inherits from the IUnknown interface. IDebugEventCallbacks also has these types of members:

Methods

The IDebugEventCallbacks interface has these methods.

MethodDescription
Breakpoint

This method is called by the engine when the target issues a breakpoint exception.

ChangeDebuggeeState

This method is called by the engine when it makes or detects changes to the target.

ChangeEngineState

This method is called by the engine when its state has changed.

ChangeSymbolState

This method is called by the engine when the symbol state changes.

CreateProcess

This method is called by the engine when a create-process debugging event occurs in the target.

CreateThread

This method is called by the engine when a create-thread debugging event occurs in the target.

Exception

This method is called by the engine when an exception debugging event occurs in the target.

ExitProcess

This method is called by the engine when an exit-process debugging event occurs in the target.

ExitThread

This method is called by the engine when an exit-thread debugging event occurs in the target.

GetInterestMask

This method is called to determine which events the IDebugEventCallbacks object is interested in.

LoadModule

This method is called by the engine when a module-load debugging event occurs in the target.

SessionStatus

This method is called by the engine when a change occurs in the debugger session.

SystemError

This method is called by the engine when a system error occurs in the target.

UnloadModule

This method is called by the engine when a module-unload debugging event occurs in the target.

 

Remarks

The IDebugEventCallbacksWide interface includes Unicode versions of these methods; the Unicode methods share the same names as those used by the methods in IDebugEventCallbacks.

The following events are generated by the target.

FlagIDebugEventCallbacksMethod Event Description

DEBUG_EVENT_BREAKPOINT

Breakpoint

A breakpoint exception occurred in the target.

DEBUG_EVENT_EXCEPTION

Exception

An exception debugging event occurred in the target.

DEBUG_EVENT_CREATE_THREAD

CreateThread

A create-thread debugging event occurred in the target.

DEBUG_EVENT_EXIT_THREAD

ExitThread

An exit-thread debugging event occurred in the target.

DEBUG_EVENT_CREATE_PROCESS

CreateProcess

A create-process debugging event occurred in the target.

DEBUG_EVENT_EXIT_PROCESS

ExitProcess

An exit-process debugging event occurred in the target.

DEBUG_EVENT_LOAD_MODULE

LoadModule

A module-load debugging event occurred in the target.

DEBUG_EVENT_UNLOAD_MODULE

UnloadModule

A module-unload debugging event occurred in the target.

DEBUG_EVENT_SYSTEM_ERROR

SystemError

A system error occurred in the target.

 

The following events are generated by the debugger engine.

FlagIDebugEventCallbacksMethod Description

DEBUG_EVENT_SESSION_STATUS

SessionStatus

A change has occurred in the session status.

DEBUG_EVENT_CHANGE_DEBUGGEE_STATE

ChangeDebuggeeState

The engine has made or detected a change in the target status.

DEBUG_EVENT_CHANGE_ENGINE_STATE

ChangeEngineState

The engine state has changed.

DEBUG_EVENT_CHANGE_SYMBOL_STATE

ChangeSymbolState

The symbol state has changed.

 

Requirements

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show: