Implement a port supplier
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. 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 must be implemented when debugging to a non-DCOM machine or when a new device requires support. For example, to provide debugging to a cell phone, you might set up a port supplier that provides ports, which connect to the cell phone (perhaps by way 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 set up your own port supplier in those cases.
In this section
Implement and register a port supplier Discusses how the SDM interacts with the port supplier and its ports.
Required port supplier interfaces Documents the interfaces you must implement to get a port supplier.
Related sections
Debugger concepts Describes the main debugging architectural concepts.