Esempio n. 1
0
        internal Debuggee(string executable,
                          IntPtr procHandle, uint procId,
                          IntPtr mainThreadHandle, uint mainThreadId,
                          ExecutableMetaInfo emi = null)
        {
            // Note: The CodeView information extraction will be done per module, i.e. when the module/process is loaded into the memory.
            Memory       = new MemoryManagement(this);
            Breakpoints  = new BreakpointManagement(this);
            CodeStepping = new Stepping(this);

            var mProc = new DebugProcess(this, executable, procHandle, procId, mainThreadHandle, mainThreadId, emi);

            CurrentThread = mProc.MainThread;
            processes.Add(mProc);
        }
Esempio n. 2
0
        internal Debuggee(string executable,
			IntPtr procHandle,uint procId,
			IntPtr mainThreadHandle,uint mainThreadId,
			ExecutableMetaInfo emi = null)
        {
            // Note: The CodeView information extraction will be done per module, i.e. when the module/process is loaded into the memory.
            Memory = new MemoryManagement(this);
            Breakpoints = new BreakpointManagement(this);
            CodeStepping = new Stepping(this);

            var mProc = new DebugProcess(this,executable, procHandle, procId, mainThreadHandle, mainThreadId, emi);

            CurrentThread = mProc.MainThread;
            processes.Add(mProc);
        }