Наследование: IDebugBoundBreakpoint2
Пример #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);
        }
Пример #2
0
        int IDebugPendingBreakpoint2.Bind() {
            if (GetBindError() != null) {
                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 RSourceLocation(fileName, lineNumber), _state);
            return VSConstants.S_OK;
        }
Пример #3
0
        int IDebugPendingBreakpoint2.Bind()
        {
            if (GetBindError() != null)
            {
                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 RSourceLocation(fileName, lineNumber), _state);
            return(VSConstants.S_OK);
        }
Пример #4
0
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint) {
     BoundBreakpoint = boundBreakpoint;
 }
Пример #5
0
 public AD7BreakpointResolution(AD7BoundBreakpoint boundBreakpoint)
 {
     BoundBreakpoint = boundBreakpoint;
 }
Пример #6
0
 public AD7BreakpointUnboundEvent(AD7BoundBreakpoint boundBreakpoint)
 {
     m_boundBreakpoint = boundBreakpoint;
 }
Пример #7
0
 public AD7BreakpointBoundEvent(AD7PendingBreakpoint pendingBreakpoint, AD7BoundBreakpoint boundBreakpoint)
 {
     m_pendingBreakpoint = pendingBreakpoint;
     m_boundBreakpoint   = boundBreakpoint;
 }
Пример #8
0
 public AD7BreakpointUnboundEvent(AD7BoundBreakpoint boundBreakpoint) {
     m_boundBreakpoint = boundBreakpoint;
 }
Пример #9
0
 public AD7BreakpointBoundEvent(AD7PendingBreakpoint pendingBreakpoint, AD7BoundBreakpoint boundBreakpoint) {
     m_pendingBreakpoint = pendingBreakpoint;
     m_boundBreakpoint = boundBreakpoint;
 }
Пример #10
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;
        }