public AD7PendingBreakpoint(AD7Engine engine, IDebugBreakpointRequest2 request) {
            Engine = engine;
            _request = request;

            var requestInfo = new BP_REQUEST_INFO[1];
            Marshal.ThrowExceptionForHR(request.GetRequestInfo(enum_BPREQI_FIELDS.BPREQI_BPLOCATION | enum_BPREQI_FIELDS.BPREQI_CONDITION | enum_BPREQI_FIELDS.BPREQI_ALLFIELDS, requestInfo));
            _requestInfo = requestInfo[0];
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     Engine.DebugSession.RSession.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Exemplo n.º 3
0
 public void Dispose() {
     Engine.DebugSession.RSession.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Exemplo n.º 4
0
        public AD7StackFrame(AD7Engine engine, DebugStackFrame stackFrame) {
            Engine = engine;
            StackFrame = stackFrame;

            _property = Lazy.Create(() => new AD7Property(this, TaskExtensions.RunSynchronouslyOnUIThread(ct => StackFrame.GetEnvironmentAsync(cancellationToken:ct)), isFrameEnvironment: true));
        }
Exemplo n.º 5
0
 public AD7MemoryAddress(AD7Engine engine, string fileName, int? lineNumber, AD7DocumentContext documentContext = null) {
     Engine = engine;
     FileName = fileName;
     LineNumber = lineNumber;
     DocumentContext = documentContext;
 }
Exemplo n.º 6
0
 public AD7Thread(AD7Engine engine) {
     Debug.Assert(engine.DebugSession != null);
     Engine = engine;
     Engine.DebugSession.RSession.BeforeRequest += RSession_BeforeRequest;
     ResetStackFrames();
 }
Exemplo n.º 7
0
        internal static void Send(AD7Engine engine)
        {
            AD7ProgramCreateEvent eventObject = new AD7ProgramCreateEvent();

            engine.Send(eventObject, IID);
        }
Exemplo n.º 8
0
        public static void Send(AD7Engine engine)
        {
            AD7EngineCreateEvent eventObject = new AD7EngineCreateEvent(engine);

            engine.Send(eventObject, IID);
        }
Exemplo n.º 9
0
 AD7EngineCreateEvent(AD7Engine engine)
 {
     m_engine = engine;
 }
Exemplo n.º 10
0
 public AD7DebugExceptionEvent(string typeName, string description, bool isUnhandled, AD7Engine engine)
 {
     _exception   = typeName;
     _description = description;
     _isUnhandled = isUnhandled;
     _engine      = engine;
 }
Exemplo n.º 11
0
 public AD7BreakpointErrorEvent(AD7PendingBreakpoint pendingBreakpoint, AD7Engine engine)
 {
     m_engine            = engine;
     m_pendingBreakpoint = pendingBreakpoint;
 }