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

            _pendingBreakpoint = pendingBreakpoint;
            _resolution = resolution;
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = new AD7ErrorBreakpointResolution(_error, _errorType);
     return Constants.S_OK;
 }
Exemplo n.º 4
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = new AD7ErrorBreakpointResolution(_error, _errorType);
     return(Constants.S_OK);
 }
Exemplo n.º 5
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution) {
     ppErrorResolution = this;
     return VSConstants.S_OK;
 }
Exemplo n.º 6
0
 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;
 }
Exemplo n.º 8
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     ppErrorResolution = this;
     return(VSConstants.S_OK);
 }
Exemplo n.º 9
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution) {
     ppErrorResolution = ErrorResolution;
     return VSConstants.S_OK;
 }
Exemplo n.º 10
0
 int IDebugErrorBreakpoint2.GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppErrorResolution)
 {
     Debug.WriteLine("AD7DebugErrorBreakpoint: GetBreakpointResolution");
     ppErrorResolution = (IDebugErrorBreakpointResolution2) new AD7DebugErrorBreakpointResolution(bp);
     return(VSConstants.S_OK);
 }
Exemplo n.º 11
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 ppBPResolution)
 {
     ppBPResolution = this;
     return(Constants.S_OK);
 }
Exemplo n.º 12
0
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 errorResolution)
 {
     errorResolution = Self;
     return(VSConstants.S_OK);
 }
Exemplo n.º 13
0
 // Token: 0x06000127 RID: 295 RVA: 0x0000555F File Offset: 0x0000375F
 public int GetBreakpointResolution(out IDebugErrorBreakpointResolution2 error)
 {
     error = this.ErrorResolution;
     return(0);
 }