Partager via


IDebugPortEx2

This interface lets the session debug manager (SDM) control the programs and processes running on a port.

IDebugPortEx2 : IUnknown

Notes for Implementers

A custom port supplier implements this interface on the same object that implements IDebugPort2.

Notes for Callers

The SDM calls QueryInterface on the IDebugPort2 interface to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IDebugPortEx2.

Method

Description

IDebugPortEx2::LaunchSuspended

Launches an executable file.

IDebugPortEx2::ResumeProcess

Resumes execution of a process.

IDebugPortEx2::CanTerminateProcess

Determines whether a process can be terminated.

IDebugPortEx2::TerminateProcess

Terminates a process.

IDebugPortEx2::GetPortProcessId

Gets the process ID of the port itself.

IDebugPortEx2::GetProgram

Gets a program associated with a program node.

Remarks

This interface is normally private between the SDM and the custom port supplier.

If desired, a debug engine (DE) can look for this interface on the IDebugPort2 interface passed to IDebugEngineLaunch2::LaunchSuspended and use IDebugPortEx2::LaunchSuspended to launch the program. This is not a requirement, however, and a DE can do whatever it needs to do to launch the request program.

Requirements

Header: portpriv.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugPort2

Concepts

Core Interfaces