Share via


Control Events

You must send events during the controlled execution of your program. All of the events are sent using the IDebugEvent2 interface and have attributes that require you to implement the IDebugEvent2::GetAttributes method.

Additional Methods

Some events require implementation of additional methods, as follows:

Events deriving from breakpoints require implementation of the IDebugBreakpointErrorEvent2, IDebugBreakpointEvent2, and IDebugBreakpointBoundEvent2 interfaces, as well as the IDebugBreakpointBoundEvent2::GetPendingBreakpoint and EnumBoundBreakpoints methods.

Asynchronous expression evaluation requires you to implement the IDebugExpressionEvaluationCompleteEvent2 interface and its IDebugExpressionEvaluationCompleteEvent2::GetExpressionand GetResult methods.

Synchronous events require implementing the IDebugEngine2::ContinueFromSynchronousEvent method.

For your engine to write string-style output, you must implement the IDebugOutputStringEvent2::GetString method.

See Also

Concepts

Execution Control and State Evaluation