Share via


IDebugProcessEx2

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface lets the session debug manager (SDM) notify a process that it is attaching to or detaching from the process.

Syntax

IDebugProcessEx2 : IUnknown  

Notes for Implementers

A custom port supplier implements this interface on the same object as the IDebugProcess2 interface in order to:

  • Support tracking of sessions connected to a process

  • Support auto-attach across multiple debug engines

    The custom port supplier can implement this interface if it chooses.

Notes for Callers

  • The SDM calls QueryInterface on an IDebugProcess2 interface to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IDebugProcessEx2.

Method Description
Attach Informs the process that a session is now debugging the process.
Detach Informs the process that a session is no longer debugging the process.
AddImplicitProgramNodes Adds program nodes for a list of debug engines.

Remarks

This interface is private between the SDM and the process.

Requirements

Header: Portpriv.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Core Interfaces
IDebugProcess2