Пример #1
0
 private void OnBreakpointBound(object sender, BreakpointBindingEventArgs e) {
     var pendingBreakpoint = _breakpointManager.GetPendingBreakpoint(e.Breakpoint);
     var breakpointBinding = e.BreakpointBinding;
     var codeContext = new AD7MemoryAddress(this, pendingBreakpoint.DocumentName, breakpointBinding.Target.Line, breakpointBinding.Target.Column);
     var documentContext = new AD7DocumentContext(codeContext);
     var breakpointResolution = new AD7BreakpointResolution(this, breakpointBinding, documentContext);
     var boundBreakpoint = new AD7BoundBreakpoint(breakpointBinding, pendingBreakpoint, breakpointResolution, breakpointBinding.Enabled);
     _breakpointManager.AddBoundBreakpoint(breakpointBinding, boundBreakpoint);
     Send(
         new AD7BreakpointBoundEvent(pendingBreakpoint, boundBreakpoint),
         AD7BreakpointBoundEvent.IID,
         null
     );
 }
 public AD7BreakpointResolution(AD7Engine engine, NodeBreakpointBinding address, AD7DocumentContext documentContext) {
     _engine = engine;
     _binding = address;
     _documentContext = documentContext;
 }
Пример #3
0
 public AD7BreakpointResolution(AD7Engine engine, NodeBreakpointBinding address, AD7DocumentContext documentContext)
 {
     this._engine          = engine;
     this._binding         = address;
     this._documentContext = documentContext;
 }
Пример #4
0
 public AD7Document(AD7DocumentContext documentContext)
 {
     _documentContext = documentContext;
 }
 public AD7Document(AD7DocumentContext documentContext) {
     _documentContext = documentContext;
 }