int IDebugPendingBreakpoint2.Delete() {
            if (_boundBreakpoint != null) {
                Marshal.ThrowExceptionForHR(((IDebugBoundBreakpoint2)_boundBreakpoint).Delete());
                _boundBreakpoint = null;
            }

            _state = enum_PENDING_BP_STATE.PBPS_DELETED;
            return VSConstants.S_OK;
        }
예제 #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);
        }
        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;
        }
예제 #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);
        }
예제 #5
0
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint)
 {
     BoundBreakpoint = boundBreakpoint;
 }
예제 #6
0
파일: AD7Events.cs 프로젝트: nomada2/RTVS
 public AD7BreakpointUnboundEvent(AD7BoundBreakpoint boundBreakpoint)
 {
     m_boundBreakpoint = boundBreakpoint;
 }
예제 #7
0
파일: AD7Events.cs 프로젝트: nomada2/RTVS
 public AD7BreakpointBoundEvent(AD7PendingBreakpoint pendingBreakpoint, AD7BoundBreakpoint boundBreakpoint)
 {
     m_pendingBreakpoint = pendingBreakpoint;
     m_boundBreakpoint   = boundBreakpoint;
 }
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint) {
     BoundBreakpoint = boundBreakpoint;
 }