IDebugPortNotify2
This interface registers or unregisters a program that can be debugged with the port it is running on.
IDebugPortNotify2 : IUnknown
Notes for Implementers
A custom port supplier implements this interface to support adding and removing programs from the port. It is typically implemented on the same object that implements the IDebugPort2 interface.
Notes for Callers
A call to QueryInterface on the IDebugPort2 interface returns this interface. Also, a call to IDebugDefaultPort2::GetPortNotify returns this interface. A debug engine can see this interface as a parameter to IDebugProgramProvider2::WatchForProviderEvents.
Methods in Vtable Order
The following table shows the methods of IDebugPortNotify2.
Method |
Description |
---|---|
Registers a program that can be debugged with the port it is running on. |
|
Unregisters a program that can be debugged from the port it is running on. |
Remarks
Unless a debug port has a way to know when programs are loaded or unloaded, a custom port supplier must implement this interface. All programs that are loaded for debugging through a particular port are tracked using this interface.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll