private IDebugProgramProvider2 ( enum_PROVIDER_FLAGS Flags, IDebugDefaultPort2 port, AD_PROCESS_ID ProcessId, CONST_GUID_ARRAY EngineFilter, System.Guid &guidLaunchingEngine, IDebugPortNotify2 ad7EventCallback ) : int | ||
Flags | enum_PROVIDER_FLAGS | A combination of flags from the PROVIDER_FLAGS enumeration. |
port | IDebugDefaultPort2 | The port the calling process is running on. |
ProcessId | AD_PROCESS_ID | An AD_PROCESS_ID structure holding the ID of the process that contains the program in question. |
EngineFilter | CONST_GUID_ARRAY | An array of GUIDs of debug engines associated with the process. |
guidLaunchingEngine | System.Guid | GUID of the debug engine that launched this process (if any). |
ad7EventCallback | IDebugPortNotify2 | An IDebugPortNotify2 object that receives the event notifications. |
return | int |
int IDebugProgramProvider2.WatchForProviderEvents(enum_PROVIDER_FLAGS Flags, IDebugDefaultPort2 port, AD_PROCESS_ID ProcessId, CONST_GUID_ARRAY EngineFilter, ref Guid guidLaunchingEngine, IDebugPortNotify2 ad7EventCallback)
{
// The VSNDK debug engine is a native debugger, and can therefore always provide a program node
// in GetProviderProcessData. Non-native debuggers may wish to implement this method as a way
// of monitoring the process before code for their runtime starts. For example, if implementing a
// 'foo script' debug engine, one could attach to a process which might eventually run 'foo script'
// before this 'foo script' started.
//
// To implement this method, an engine would monitor the target process and call AddProgramNode
// when the target process started running code which was debuggable by the engine. The
// enum_PROVIDER_FLAGS.PFLAG_ATTACHED_TO_DEBUGGEE flag indicates if the request is to start
// or stop watching the process.
return VSConstants.S_OK;
}
AD7ProgramProvider::IDebugProgramProvider2 ( enum_PROVIDER_FLAGS Flags, IDebugDefaultPort2 port, AD_PROCESS_ID ProcessId, CONST_GUID_ARRAY EngineFilter, PROVIDER_PROCESS_DATA processArray ) : int | |
AD7ProgramProvider::IDebugProgramProvider2 ( enum_PROVIDER_FLAGS Flags, IDebugDefaultPort2 port, AD_PROCESS_ID ProcessId, System.Guid &guidEngine, ulong programId, IDebugProgramNode2 &programNode ) : int | |
AD7ProgramProvider::IDebugProgramProvider2 ( ushort wLangID ) : int |