Port Suppliers


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Port Suppliers.

In terms of the debugger architecture, a port supplier:

  • Is contained by a server and provides ports on request to that server.

  • Can add and remove ports from the containing server.

  • Can enumerate all the ports it has supplied to the server.

  • Is represented by an IDebugPortSupplier2 interface, which is registered with Visual Studio through the registry. This interface can be obtained by calling GetPortSupplier.

Visual Studio provides a default port supplier and a default port. If a custom port needs to be implemented, a custom port supplier also needs to be implemented to supply those custom ports.

Debugger Concepts