Example #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);
        }
Example #2
0
        public MonoStackFrame(MonoThread thread, DebuggedMonoProcess debuggedMonoProcess, StackFrame frame)
        {
            this.thread = thread;
            this.debuggedMonoProcess = debuggedMonoProcess;
            this.frame = frame;

            docContext = new MonoDocumentContext(this.frame.FileName,
                this.frame.LineNumber,
                this.frame.ColumnNumber);
            var locals = frame.GetVisibleVariables().ToList();

            this.locals = locals.Select(x => new MonoProperty(frame, x)).ToList();
        }
Example #3
0
        public MonoStackFrame(MonoThread thread, DebuggedMonoProcess debuggedMonoProcess, StackFrame frame)
        {
            this.thread = thread;
            this.debuggedMonoProcess = debuggedMonoProcess;
            this.frame = frame;

            docContext = new MonoDocumentContext(this.frame.FileName,
                                                 this.frame.LineNumber,
                                                 this.frame.ColumnNumber);
            var locals = frame.GetVisibleVariables().ToList();

            this.locals = locals.Select(x => new MonoProperty(frame, x)).ToList();
        }
Example #4
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;
        }
Example #5
0
 public MonoThread(DebuggedMonoProcess debuggedMonoProcess, MonoEngine engine, ThreadMirror threadMirror)
 {
     this.debuggedMonoProcess = debuggedMonoProcess;
     _engine = engine;
     ThreadMirror = threadMirror;
 }
Example #6
0
 public MonoProgramNode(DebuggedMonoProcess process, Guid processId)
 {
     _process   = process;
     _processId = processId;
 }
Example #7
0
 public MonoThread(DebuggedMonoProcess debuggedMonoProcess, MonoEngine engine, ThreadMirror threadMirror)
 {
     this.debuggedMonoProcess = debuggedMonoProcess;
     _engine      = engine;
     ThreadMirror = threadMirror;
 }
Example #8
0
 public MonoProgramNode(DebuggedMonoProcess process, Guid processId)
 {
     _process = process;
     _processId = processId;
 }