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];
        }
Beispiel #2
0
 public void Dispose()
 {
     Engine.DebugSession.RSession.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Beispiel #3
0
 public void Dispose() {
     Engine.DebugSession.RSession.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
        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));
        }
 public AD7MemoryAddress(AD7Engine engine, string fileName, int? lineNumber, AD7DocumentContext documentContext = null) {
     Engine = engine;
     FileName = fileName;
     LineNumber = lineNumber;
     DocumentContext = documentContext;
 }
Beispiel #6
0
 public AD7Thread(AD7Engine engine) {
     Debug.Assert(engine.DebugSession != null);
     Engine = engine;
     Engine.DebugSession.RSession.BeforeRequest += RSession_BeforeRequest;
     ResetStackFrames();
 }
Beispiel #7
0
        internal static void Send(AD7Engine engine)
        {
            AD7ProgramCreateEvent eventObject = new AD7ProgramCreateEvent();

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

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