Implementing a Port Supplier


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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.

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.

Visual Studio Debugger Extensibility