예제 #1
0
        public ICorDebugProcess DebugActiveProcess(uint id, int win32Attach)
        {
            ICorDebugProcess ppProcess;

            Debugger.Interop.CorDebug.ICorDebugProcess out_ppProcess;
            this.WrappedObject.DebugActiveProcess(id, win32Attach, out out_ppProcess);
            ppProcess = ICorDebugProcess.Wrap(out_ppProcess);
            return(ppProcess);
        }
예제 #2
0
        public ICorDebugProcess GetProcess(uint dwProcessId)
        {
            ICorDebugProcess ppProcess;

            Debugger.Interop.CorDebug.ICorDebugProcess out_ppProcess;
            this.WrappedObject.GetProcess(dwProcessId, out out_ppProcess);
            ppProcess = ICorDebugProcess.Wrap(out_ppProcess);
            return(ppProcess);
        }
예제 #3
0
        public ICorDebugProcess CreateProcess(string lpApplicationName, string lpCommandLine, ref Debugger.Interop.CorDebug._SECURITY_ATTRIBUTES lpProcessAttributes, ref Debugger.Interop.CorDebug._SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, System.IntPtr lpEnvironment, string lpCurrentDirectory, uint lpStartupInfo, uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
        {
            ICorDebugProcess ppProcess;

            Debugger.Interop.CorDebug.ICorDebugProcess out_ppProcess;
            this.WrappedObject.CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation, ((Debugger.Interop.CorDebug.CorDebugCreateProcessFlags)(debuggingFlags)), out out_ppProcess);
            ppProcess = ICorDebugProcess.Wrap(out_ppProcess);
            return(ppProcess);
        }