Esempio n. 1
0
 public MonoExpression(MonoEngine engine, MonoThread thread, string expression, ObjectValue value)
 {
     this.engine = engine;
     this.thread = thread;
     this.value  = value;
     Expression  = expression;
 }
Esempio n. 2
0
 public MonoBoundBreakpoint(MonoEngine engine, uint address, MonoPendingBreakpoint pendingBreakpoint, MonoBreakpointResolution breakpointResolution)
 {
     this.engine               = engine;
     this.address              = address;
     this.pendingBreakpoint    = pendingBreakpoint;
     this.breakpointResolution = breakpointResolution;
 }
Esempio n. 3
0
        public static void Send(this IDebugEventCallback2 callback, MonoEngine engine, IDebugEvent2 eventObject, string iidEvent, IDebugProgram2 program, IDebugThread2 thread)
        {
            uint attributes;
            var  riidEvent = new Guid(iidEvent);

            eventObject.GetAttributes(out attributes);
            callback.Event(engine, null, program, thread, eventObject, ref riidEvent, attributes);
        }
Esempio n. 4
0
        public MonoStackFrame(MonoEngine engine, MonoThread thread, StackFrame frame)
        {
            this.engine = engine;
            this.thread = thread;
            this.frame  = frame;

            var allLocals = frame.GetAllLocals(EvaluationOptions.DefaultOptions);

            parameters   = frame.GetParameters(EvaluationOptions.DefaultOptions);
            locals       = allLocals.Where(x => !parameters.Any(y => y.Name == x.Name)).ToArray();
            lineNumber   = (uint)frame.SourceLocation.Line;
            hasSource    = frame.HasDebugInfo;
            functionName = frame.SourceLocation.MethodName;
            documentName = frame.SourceLocation.FileName;
        }
Esempio n. 5
0
 public MonoMemoryAddress(MonoEngine engine, uint address, MonoDocumentContext documentContext)
 {
     this.engine          = engine;
     this.address         = address;
     this.documentContext = documentContext;
 }
Esempio n. 6
0
 public MonoBreakpointManager(MonoEngine engine)
 {
     Engine = engine;
 }
Esempio n. 7
0
 public MonoBreakpointResolution(MonoEngine engine, uint address, MonoDocumentContext documentContext)
 {
     this.engine          = engine;
     this.address         = address;
     this.documentContext = documentContext;
 }
Esempio n. 8
0
 public static void Send(this IDebugEventCallback2 callback, MonoEngine engine, IDebugEvent2 eventObject, string iidEvent, IDebugThread2 thread)
 {
     callback.Send(engine, eventObject, iidEvent, engine, thread);
 }
Esempio n. 9
0
 public MonoThreadManager(MonoEngine engine)
 {
     Engine = engine;
 }
Esempio n. 10
0
 public MonoThread(MonoEngine engine, ThreadInfo debuggedThread)
 {
     this.engine         = engine;
     this.debuggedThread = debuggedThread;
 }