IVsDebugger.AdviseDebuggerEvents Method (IVsDebuggerEvents, UInt32)
Visual Studio 2015
Used by a client to get notification of debugger events.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pSink
-
Type:
Microsoft.VisualStudio.Shell.Interop.IVsDebuggerEvents
[in] Pointer to a IVsDebuggerEvents interface to receive event notices.
- pdwCookie
-
Type:
System.UInt32
[out] Cookie returned to identify this particular sink interface. Client needs to save the cookie and use it in the call to UnadviseDebuggerEvents.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsDebugger::AdviseDebuggerEvents(
[in] IVsDebuggerEvents *psink,
[out] VSCOOKIE *pdwCookie
);
Show: