Implementing a Port Supplier

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

A port supplier supplies ports on request to the session debug manager (SDM). A port supplier needs to be implemented when debugging to a non-DCOM machine or when a new device needs to be supported. For example, to provide debugging to a cell phone, you might implement a port supplier that provides ports that connect to the cell phone (perhaps by means of IR or a cell connection) and enumerates the processes and programs running on the phone.

For debugging programs on Windows-based machines (including remote debugging), Visual Studio provides port suppliers for native and Common Language Runtime (CLR) processes, so there is no need to implement your own port supplier in those cases.

In This Section

Implementing and Registering a Port Supplier
Discusses how the SDM interacts with the port supplier and its ports.

Required Port Supplier Interfaces
Documents the interfaces that must be implemented to obtain a port supplier.

Debugger Concepts
Describes the main debugging architectural concepts.

See Also

Visual Studio Debugger Extensibility