Inheritance: IDebugEngine2, IDebugEngineLaunch2, IDebugProgram3, IDebugSymbolSettings100
Beispiel #1
0
        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_ALLFIELDS, requestInfo));
            _requestInfo = requestInfo[0];
        }
Beispiel #2
0
 public void Dispose()
 {
     Engine.Tracer.Session.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Beispiel #3
0
 public AD7MemoryAddress(AD7Engine engine, string fileName, int? lineNumber, AD7DocumentContext documentContext = null) {
     Engine = engine;
     FileName = fileName;
     LineNumber = lineNumber;
     DocumentContext = documentContext;
 }
Beispiel #4
0
 public void Dispose()
 {
     Engine.DebugSession.Session.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Beispiel #5
0
        public AD7StackFrame(AD7Engine engine, IRStackFrame stackFrame) {
            Engine = engine;
            StackFrame = stackFrame;

            _property = Lazy.Create(() => new AD7Property(this, TaskExtensions.RunSynchronouslyOnUIThread(ct => StackFrame.DescribeEnvironmentAsync(cancellationToken: ct)), isFrameEnvironment: true));
        }
Beispiel #6
0
        internal static void Send(AD7Engine engine)
        {
            AD7ProgramCreateEvent eventObject = new AD7ProgramCreateEvent();

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

            engine.Send(eventObject, IID);
        }
Beispiel #8
0
 public AD7BreakpointErrorEvent(AD7PendingBreakpoint pendingBreakpoint, AD7Engine engine) {
     m_engine = engine;
     m_pendingBreakpoint = pendingBreakpoint;
 }
Beispiel #9
0
 public AD7DebugExceptionEvent(string typeName, string description, bool isUnhandled, AD7Engine engine)
 {
     _exception   = typeName;
     _description = description;
     _isUnhandled = isUnhandled;
     _engine      = engine;
 }
Beispiel #10
0
 public AD7BreakpointErrorEvent(AD7PendingBreakpoint pendingBreakpoint, AD7Engine engine)
 {
     m_engine            = engine;
     m_pendingBreakpoint = pendingBreakpoint;
 }
Beispiel #11
0
 internal static void Send(AD7Engine engine) {
     AD7ProgramCreateEvent eventObject = new AD7ProgramCreateEvent();
     engine.Send(eventObject, IID);
 }
Beispiel #12
0
 public static void Send(AD7Engine engine) {
     AD7EngineCreateEvent eventObject = new AD7EngineCreateEvent(engine);
     engine.Send(eventObject, IID);
 }
Beispiel #13
0
 AD7EngineCreateEvent(AD7Engine engine) {
     m_engine = engine;
 }
Beispiel #14
0
 public AD7DebugExceptionEvent(string typeName, string description, bool isUnhandled, AD7Engine engine) {
     _exception = typeName;
     _description = description;
     _isUnhandled = isUnhandled;
     _engine = engine;
 }
Beispiel #15
0
 public AD7Thread(AD7Engine engine) {
     Debug.Assert(engine.Tracer != null);
     Engine = engine;
     Engine.Tracer.Session.BeforeRequest += RSession_BeforeRequest;
     ResetStackFrames();
 }
Beispiel #16
0
 public void Dispose() {
     Engine.Tracer.Session.BeforeRequest -= RSession_BeforeRequest;
     Engine = null;
 }
Beispiel #17
0
 AD7EngineCreateEvent(AD7Engine engine)
 {
     m_engine = engine;
 }