IDebugReturnValueEvent2

This interface is sent by the debug engine (DE) to the session debug manager (SDM) after stepping out of or over a function.

IDebugReturnValueEvent2 : IUnknown

Notes for Implementers

The DE implements this interface to report the return value from a function that has been stepped out of or over. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

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

Methods in Vtable Order

The following table shows the method of IDebugReturnValueEvent2.

Method

Description

IDebugReturnValueEvent2::GetReturnValue

Gets the value returned on stepping out of a function.

Remarks

The value returned by a function can be obtained by calling IDebugReturnValueEvent2::GetReturnValue. The value returned appears in the Autos window.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Concepts

Core Interfaces

Reference

IDebugEvent2