Compartilhar via


IDebugProcessEx2

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

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

IDebugProcessEx2::Attach

Informs the process that a session is now debugging the process.

IDebugProcessEx2::Detach

Informs the process that a session is no longer debugging the process.

IDebugProcessEx2::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

Reference

IDebugProcess2

Concepts

Core Interfaces