Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


This interface is sent by the debug engine (DE) to the session debug manager (SDM) when asynchronous expression evaluation is complete.

IDebugExpressionEvaluationCompleteEvent2 : IUnknown

The DE implements this interface to report completion of an expression evaluation started by a call to IDebugExpression2::EvaluateAsync. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

The DE creates and sends this event object to report the completion of an expression evaluation. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it attached to the program being debugged.

The following table shows the methods of IDebugExpressionEvaluationCompleteEvent2.

Method Description


Gets the original expression.


Gets the result of expression evaluation.

The DE must send this event, whether the evaluation was successful or not.

If the evaluation was not successful, the DEBUG_PROPINFO_VALUE and DEBUG_PROPINFO_ATTRIB flags will not be set in the DEBUG_PROPERTY_INFO structure that is returned by IDebugProperty2::GetPropertyInfo (the IDebugProperty2 object is created by the DE and returned in the IDebugExpressionEvaluationCompleteEvent2 event if the evaluation failed).

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Community Additions

© 2015 Microsoft