public MonoExpression(MonoEngine engine, MonoThread thread, ObjectValue value, string expression)
 {
     _engine     = engine;
     _thread     = thread;
     _value      = value;
     _expression = expression;
 }
Exemple #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];
        }
Exemple #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;
        }
Exemple #5
0
 public MonoStackFrame(MonoEngine engine, MonoThread thread, StackFrame frame)
 {
     _engine         = engine;
     _thread         = thread;
     _monoStackFrame = frame;
 }
 public MonoEngineCallback(MonoEngine engine, IDebugEventCallback2 callback)
 {
     _engine   = engine;
     _callback = callback;
 }
        public ThreadManager(MonoEngine engine)
        {
            _threads = new Dictionary <long, MonoThread>();

            _engine = engine;
        }
Exemple #8
0
 public MonoModule(MonoEngine engine)
 {
     _engine = engine;
 }
        public BreakpointManager(MonoEngine engine)
        {
            _breakpoints = new Dictionary <BreakEvent, MonoPendingBreakpoint>();

            _engine = engine;
        }