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

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

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