Exemplo n.º 1
0
        public Breakpoint CreateBreakpoint(TextPositionInfo position, MonoPendingBreakpoint bp)
        {
            Breakpoint point = _engine.SoftDebugger.Breakpoints.Add(position.FilePath, position.StartLine, position.StartColumn);

            _breakpoints.Add(point, bp);

            return(point);
        }
Exemplo n.º 2
0
        private void event_TargetHitBreakpoint(object sender, TargetEventArgs e)
        {
            MonoPendingBreakpoint pendingBreakpoint = _debugEngine.BreakpointManager.FindBreakpoint(e.BreakEvent);

            _debugEngine.Callback.OnBreakpointHit(pendingBreakpoint, _debugEngine.ThreadManager[e.Thread]);
        }
Exemplo n.º 3
0
        public int CreatePendingBreakpoint(IDebugBreakpointRequest2 pBPRequest, out IDebugPendingBreakpoint2 ppPendingBP)
        {
            ppPendingBP = new MonoPendingBreakpoint(this, pBPRequest);

            return(S_OK);
        }
Exemplo n.º 4
0
 public void OnBreakpointBound(MonoPendingBreakpoint pending)
 {
     _callback.Event(_engine, _engine.Process, _engine, null, new DebugEventBreakpointBound(pending), ref DebugEventBreakpointBound.ID, DebugEventBreakpointBound.Attributes);
 }
Exemplo n.º 5
0
 public void OnBreakpointHit(MonoPendingBreakpoint bp, MonoThread thread)
 {
     _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventBreakpointHit(bp), ref DebugEventBreakpointHit.ID, DebugEventBreakpointHit.Attributes);
 }
Exemplo n.º 6
0
 public MonoBoundBreakpoint(MonoPendingBreakpoint pending, MonoBreakpointResolution res)
 {
     _pendingBreakpoint = pending;
     _resolution        = res;
 }