Ejemplo n.º 1
0
        int IDebugPendingBreakpoint2.Delete() {
            if (_boundBreakpoint != null) {
                Marshal.ThrowExceptionForHR(((IDebugBoundBreakpoint2)_boundBreakpoint).Delete());
                _boundBreakpoint = null;
            }

            _state = enum_PENDING_BP_STATE.PBPS_DELETED;
            return VSConstants.S_OK;
        }
Ejemplo n.º 2
0
        int IDebugPendingBreakpoint2.Delete()
        {
            if (_boundBreakpoint != null)
            {
                Marshal.ThrowExceptionForHR(((IDebugBoundBreakpoint2)_boundBreakpoint).Delete());
                _boundBreakpoint = null;
            }

            _state = enum_PENDING_BP_STATE.PBPS_DELETED;
            return(VSConstants.S_OK);
        }
Ejemplo n.º 3
0
        int IDebugPendingBreakpoint2.Bind() {
            if (!CanBind()) {
                return VSConstants.S_FALSE;
            }

            string fileName;
            int lineNumber;
            TEXT_POSITION start, end;
            GetLocation(out fileName, out lineNumber, out start, out end);

            _boundBreakpoint = new AD7BoundBreakpoint(this, new DebugBreakpointLocation(fileName, lineNumber), _state);
            return VSConstants.S_OK;
        }
Ejemplo n.º 4
0
        int IDebugPendingBreakpoint2.Bind()
        {
            if (!CanBind())
            {
                return(VSConstants.S_FALSE);
            }

            string        fileName;
            int           lineNumber;
            TEXT_POSITION start, end;

            GetLocation(out fileName, out lineNumber, out start, out end);

            _boundBreakpoint = new AD7BoundBreakpoint(this, new DebugBreakpointLocation(fileName, lineNumber), _state);
            return(VSConstants.S_OK);
        }
Ejemplo n.º 5
0
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint)
 {
     BoundBreakpoint = boundBreakpoint;
 }
Ejemplo n.º 6
0
 public AD7BreakpointUnboundEvent(AD7BoundBreakpoint boundBreakpoint)
 {
     m_boundBreakpoint = boundBreakpoint;
 }
Ejemplo n.º 7
0
 public AD7BreakpointBoundEvent(AD7PendingBreakpoint pendingBreakpoint, AD7BoundBreakpoint boundBreakpoint)
 {
     m_pendingBreakpoint = pendingBreakpoint;
     m_boundBreakpoint   = boundBreakpoint;
 }
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint) {
     BoundBreakpoint = boundBreakpoint;
 }