public DebugErrorBreakpoint(IDebugPendingBreakpoint2 pendingBreakpoint, IDebugErrorBreakpointResolution2 resolution)
        {
            Contract.Requires<ArgumentNullException>(pendingBreakpoint != null, "pendingBreakpoint");
            Contract.Requires<ArgumentNullException>(resolution != null, "resolution");

            _pendingBreakpoint = pendingBreakpoint;
            _resolution = resolution;
        }
Example #2
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public DebuggeeBreakpointError(DebugBreakpointManager breakpointManager, DebuggeeBreakpointPending pendingBreakpoint, DebuggeeCodeContext codeContext, string error)
        {
            m_breakpointManager = breakpointManager ?? throw new ArgumentNullException(nameof(breakpointManager));

            m_pendingBreakpoint = pendingBreakpoint ?? throw new ArgumentNullException(nameof(pendingBreakpoint));

            m_codeContext = codeContext ?? throw new ArgumentNullException(nameof(codeContext));

            m_breakpointResolution = new DebuggeeBreakpointResolution(m_codeContext, error);
        }
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = new AD7ErrorBreakpointResolution(_error, _errorType);
     return Constants.S_OK;
 }
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = new AD7ErrorBreakpointResolution(_error, _errorType);
     return(Constants.S_OK);
 }
Example #5
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution) {
     ppErrorResolution = this;
     return VSConstants.S_OK;
 }
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = _resolution;
     return(VSConstants.S_OK);
 }
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
   Debug.WriteLine("AD7DebugErrorBreakpoint: GetBreakpointResolution");
   ppErrorResolution = ( IDebugErrorBreakpointResolution2 )new AD7DebugErrorBreakpointResolution(bp);
   return VSConstants.S_OK;
 }
Example #8
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = this;
     return(VSConstants.S_OK);
 }
Example #9
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution) {
     ppErrorResolution = ErrorResolution;
     return VSConstants.S_OK;
 }
Example #10
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     Debug.WriteLine("AD7DebugErrorBreakpoint: GetBreakpointResolution");
     ppErrorResolution = (IDebugErrorBreakpointResolution2) new AD7DebugErrorBreakpointResolution(bp);
     return(VSConstants.S_OK);
 }
Example #11
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppBPResolution)
 {
     ppBPResolution = this;
     return(Constants.S_OK);
 }
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 errorResolution)
 {
     errorResolution = Self;
     return(VSConstants.S_OK);
 }
Example #13
0
 // Token: 0x06000127 RID: 295 RVA: 0x0000555F File Offset: 0x0000375F
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 error)
 {
     error = this.ErrorResolution;
     return(0);
 }