コード例 #1
0
        public int LaunchSuspended(string pszServer, IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir,
                                   string bstrEnv, string pszOptions, enum_LAUNCH_FLAGS dwLaunchFlags, uint hStdInput, uint hStdOutput,
                                   uint hStdError, IDebugEventCallback2 pCallback, out IDebugProcess2 ppProcess)
        {
            DebugHelper.TraceEnteringMethod();

            Events          = new MonoDebuggerEvents(this, pCallback);
            DebuggedProcess = new DebuggedMonoProcess(this, IPAddress.Parse(pszArgs));
            DebuggedProcess.ApplicationClosed += _debuggedProcess_ApplicationClosed;

            ppProcess = RemoteProcess = new MonoProcess(pPort);
            return(VSConstants.S_OK);
        }
コード例 #2
0
ファイル: MonoEngine.cs プロジェクト: nakioman/MonoDebugger
        public int LaunchSuspended(string pszServer, IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir,
            string bstrEnv, string pszOptions, enum_LAUNCH_FLAGS dwLaunchFlags, uint hStdInput, uint hStdOutput,
            uint hStdError, IDebugEventCallback2 pCallback, out IDebugProcess2 ppProcess)
        {
            DebugHelper.TraceEnteringMethod();

            Events = new MonoDebuggerEvents(this, pCallback);
            DebuggedProcess = new DebuggedMonoProcess(this, IPAddress.Parse(pszArgs));
            DebuggedProcess.ApplicationClosed += _debuggedProcess_ApplicationClosed;

            ppProcess = RemoteProcess = new MonoProcess(pPort);
            return VSConstants.S_OK;
        }