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);
        }
Beispiel #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]);
        }
Beispiel #3
0
        public int CreatePendingBreakpoint(IDebugBreakpointRequest2 pBPRequest, out IDebugPendingBreakpoint2 ppPendingBP)
        {
            ppPendingBP = new MonoPendingBreakpoint(this, pBPRequest);

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