Пример #1
0
 public MonoExpression(MonoEngine engine, MonoThread thread, string expression, ObjectValue value)
 {
     this.engine = engine;
     this.thread = thread;
     this.value  = value;
     Expression  = expression;
 }
Пример #2
0
 public MonoBoundBreakpoint(MonoEngine engine, uint address, MonoPendingBreakpoint pendingBreakpoint, MonoBreakpointResolution breakpointResolution)
 {
     this.engine               = engine;
     this.address              = address;
     this.pendingBreakpoint    = pendingBreakpoint;
     this.breakpointResolution = breakpointResolution;
 }
Пример #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);
        }
Пример #4
0
        public MonoStackFrame(MonoEngine engine, MonoThread thread, Func <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();
            hasSource    = frame().HasDebugInfo;
            functionName = frame().SourceLocation.MethodName;
            documentName = frame().SourceLocation.FileName;
        }
Пример #5
0
 public MonoThread(MonoEngine engine, ThreadInfo debuggedThread)
 {
     this.engine         = engine;
     this.debuggedThread = debuggedThread;
 }
Пример #6
0
 public static void Send(this IDebugEventCallback2 callback, MonoEngine engine, IDebugEvent2 eventObject, string iidEvent, IDebugThread2 thread)
 {
     callback.Send(engine, eventObject, iidEvent, engine, thread);
 }
Пример #7
0
 public MonoModule(MonoEngine engine)
 {
     this.engine = engine;
 }
Пример #8
0
 public MonoThreadManager(MonoEngine engine)
 {
     Engine = engine;
 }
Пример #9
0
 public MonoBreakpointResolution(MonoEngine engine, uint address, MonoDocumentContext documentContext)
 {
     this.engine          = engine;
     this.address         = address;
     this.documentContext = documentContext;
 }
Пример #10
0
 public MonoMemoryAddress(MonoEngine engine, uint address, MonoDocumentContext documentContext)
 {
     this.engine          = engine;
     this.address         = 0;//address;
     this.documentContext = documentContext;
 }
Пример #11
0
 public MonoBreakpointManager(MonoEngine engine)
 {
     Engine = engine;
 }