Пример #1
0
        public int ResumeProcess(IDebugProcess2 pProcess)
        {
            DebugHelper.TraceEnteringMethod();
            IDebugPort2 port;

            pProcess.GetPort(out port);
            Guid id;

            pProcess.GetProcessId(out id);
            var defaultPort = (IDebugDefaultPort2)port;
            IDebugPortNotify2 notify;

            defaultPort.GetPortNotify(out notify);

            int result = notify.AddProgramNode(Node = new MonoProgramNode(DebuggedProcess, id));

            return(VSConstants.S_OK);
        }
Пример #2
0
        public int ResumeProcess(IDebugProcess2 pProcess)
        {
            DebugHelper.TraceEnteringMethod();
            IDebugPort2 port;
            pProcess.GetPort(out port);
            Guid id;
            pProcess.GetProcessId(out id);
            var defaultPort = (IDebugDefaultPort2) port;
            IDebugPortNotify2 notify;
            defaultPort.GetPortNotify(out notify);

            int result = notify.AddProgramNode(Node = new MonoProgramNode(DebuggedProcess, id));

            return VSConstants.S_OK;
        }