Exemplo n.º 1
0
 public MonoExpression(MonoEngine engine, MonoThread thread, ObjectValue value, string expression)
 {
     _engine     = engine;
     _thread     = thread;
     _value      = value;
     _expression = expression;
 }
Exemplo n.º 2
0
        public MonoThread(MonoEngine engine, string name, ThreadInfo monoThread)
        {
            _engine = engine;
            _name   = name;

            _monoThread = monoThread;
        }
        public MonoPendingBreakpoint(MonoEngine engine, IDebugBreakpointRequest2 req)
        {
            _engine = engine;

            _request = req;

            BP_REQUEST_INFO[] inf = new BP_REQUEST_INFO[1];
            req.GetRequestInfo((uint)enum_BPREQI_FIELDS.BPREQI_ALLFIELDS, inf);
            _requestInfo = inf[0];
        }
Exemplo n.º 4
0
        public SoftDebugger(MonoEngine engine)
        {
            _debugEngine = engine;

            _options = new DebuggerSessionOptions()
            {
                EvaluationOptions = EvaluationOptions.DefaultOptions
            };
            _options.EvaluationOptions.UseExternalTypeResolver = true;

            _session             = new SoftDebuggerSession();
            _session.Breakpoints = (_breakEvents = new BreakpointStore());

            _session.TypeResolverHandler      += event_TypeResolverHandler;
            _session.TargetReady              += event_TargetReady;
            _session.TargetExited             += event_TargetExited;
            _session.TargetThreadStarted      += event_TargetThreadStarted;
            _session.TargetThreadStopped      += event_TargetThreadStopped;
            _session.TargetHitBreakpoint      += event_TargetHitBreakpoint;
            _session.TargetUnhandledException += event_TargetUnhandledException;
        }
Exemplo n.º 5
0
 public MonoStackFrame(MonoEngine engine, MonoThread thread, StackFrame frame)
 {
     _engine         = engine;
     _thread         = thread;
     _monoStackFrame = frame;
 }
Exemplo n.º 6
0
 public MonoEngineCallback(MonoEngine engine, IDebugEventCallback2 callback)
 {
     _engine   = engine;
     _callback = callback;
 }
Exemplo n.º 7
0
        public ThreadManager(MonoEngine engine)
        {
            _threads = new Dictionary <long, MonoThread>();

            _engine = engine;
        }
Exemplo n.º 8
0
 public MonoModule(MonoEngine engine)
 {
     _engine = engine;
 }
Exemplo n.º 9
0
        public BreakpointManager(MonoEngine engine)
        {
            _breakpoints = new Dictionary <BreakEvent, MonoPendingBreakpoint>();

            _engine = engine;
        }