コード例 #1
0
 /// <summary>
 /// Creates an enumerator of breakpoints that were bound on this event.
 /// </summary>
 /// <param name="ppEnum">Returns an IEnumDebugBoundBreakpoints2 object that enumerates all the breakpoints bound from this event.</param>
 /// <returns>If successful, returns S_OK. Returns S_FALSE if there are no bound breakpoints; otherwise, returns an error code.</returns>
 /// <remarks>The list of bound breakpoints is for those bound to this event and might not be the entire list of breakpoints bound from a pending breakpoint. To get a list of all breakpoints bound to a pending breakpoint, call the IDebugBreakpointBoundEvent2::GetPendingBreakpoint method to get the associated IDebugPendingBreakpoint2 object and then call the IDebugPendingBreakpoint2::EnumBoundBreakpoints method to get an IEnumDebugBoundBreakpoints2 object which contains all the bound breakpoints for the pending breakpoint.</remarks>
 public int EnumBoundBreakpoints( out IEnumDebugBoundBreakpoints2 ppEnum )
 {
     var boundBreakpoints = new IDebugBoundBreakpoint2[1];
     boundBreakpoints[0] = BoundBreakpoint;
     ppEnum = new BoundBreakpointsEnumerator( boundBreakpoints );
     return VSConstants.S_OK;
 }
コード例 #2
0
 public BreakpointEvent(Program program,
                        IEnumDebugBoundBreakpoints2 boundBreakpoints)
     : base(program.Engine, typeof(IDebugBreakpointEvent2).GUID,
            STOPPING, program, program)
 {
     this.boundBreakpoints = boundBreakpoints;
 }
コード例 #3
0
ファイル: AD7Events.cs プロジェクト: happylancer/node-tools
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     var boundBreakpoints = new IDebugBoundBreakpoint2[1];
     boundBreakpoints[0] = m_boundBreakpoint;
     ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
     return VSConstants.S_OK;
 }
コード例 #4
0
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     IDebugBoundBreakpoint2[] boundBreakpoints = new IDebugBoundBreakpoint2[1];
     boundBreakpoints[0] = m_boundBreakpoint;
     ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
     return(EngineConstants.S_OK);
 }
コード例 #5
0
            int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
            {
                IDebugBoundBreakpoint2 [] breakpoints = new IDebugBoundBreakpoint2 [] { m_boundBreakpoint };

                ppEnum = new DebuggeeBreakpointBound.Enumerator(breakpoints);

                return(Constants.S_OK);
            }
コード例 #6
0
 // Enumerates all breakpoints bound from this pending breakpoint
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     lock (_boundBreakpoints) {
         IDebugBoundBreakpoint2[] boundBreakpoints = _boundBreakpoints.ToArray();
         ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
     }
     return(VSConstants.S_OK);
 }
コード例 #7
0
        int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            var boundBreakpoints = new IDebugBoundBreakpoint2[1];

            boundBreakpoints[0] = boundBreakpoint;
            ppEnum = new MonoBoundBreakpointsEnum(boundBreakpoints);
            return(VSConstants.S_OK);
        }
コード例 #8
0
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 enumerator)
 {
     lock (boundBreakpoints)
     {
         enumerator = new MonoBoundBreakpointsEnum(boundBreakpoints.ToArray());
     }
     return(VSConstants.S_OK);
 }
コード例 #9
0
 // Token: 0x06000096 RID: 150 RVA: 0x000038BF File Offset: 0x00001ABF
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 e)
 {
     e = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[]
     {
         this.boundBreakpoint
     });
     return(0);
 }
コード例 #10
0
 public BreakpointEvent(IEnumDebugBoundBreakpoints2 boundBreakpoints)
 {
     if (boundBreakpoints == null)
     {
         throw new ArgumentNullException("boundBreakpoints");
     }
     BoundBreakpoints = boundBreakpoints;
 }
コード例 #11
0
        /// <summary>
        /// Creates an enumerator of breakpoints that were bound on this event.
        /// </summary>
        /// <param name="ppEnum">Returns an IEnumDebugBoundBreakpoints2 object that enumerates all the breakpoints bound from this event.</param>
        /// <returns>If successful, returns S_OK. Returns S_FALSE if there are no bound breakpoints; otherwise, returns an error code.</returns>
        /// <remarks>The list of bound breakpoints is for those bound to this event and might not be the entire list of breakpoints bound from a pending breakpoint. To get a list of all breakpoints bound to a pending breakpoint, call the IDebugBreakpointBoundEvent2::GetPendingBreakpoint method to get the associated IDebugPendingBreakpoint2 object and then call the IDebugPendingBreakpoint2::EnumBoundBreakpoints method to get an IEnumDebugBoundBreakpoints2 object which contains all the bound breakpoints for the pending breakpoint.</remarks>
        public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            var boundBreakpoints = new IDebugBoundBreakpoint2[1];

            boundBreakpoints[0] = BoundBreakpoint;
            ppEnum = new BoundBreakpointsEnumerator(boundBreakpoints);
            return(VSConstants.S_OK);
        }
コード例 #12
0
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = new AD7BoundBreakpointEnum(
         _boundBreakpoint == null ?
         new IDebugBoundBreakpoint2[] { } :
         new IDebugBoundBreakpoint2[] { _boundBreakpoint });
     return(VSConstants.S_OK);
 }
コード例 #13
0
 public BreakpointEvent( IEnumDebugBoundBreakpoints2 boundBreakpoints )
 {
     if ( boundBreakpoints == null )
     {
         throw new ArgumentNullException( "boundBreakpoints" );
     }
     BoundBreakpoints = boundBreakpoints;
 }
コード例 #14
0
 /// <summary>
 ///     Enumerates all breakpoints bound from this pending breakpoint.
 /// </summary>
 /// <param name="enumerator">The enumerator.</param>
 /// <returns>If successful, returns S_OK; otherwise, returns an error code.</returns>
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 enumerator)
 {
     lock (_boundBreakpoints)
     {
         enumerator =
             new MonoBoundBreakpointsEnumerator(_boundBreakpoints.OfType <IDebugBoundBreakpoint2>().ToArray());
     }
     return(S_OK);
 }
コード例 #15
0
        int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            //IDebugBoundBreakpoint2[] boundBreakpoints = new IDebugBoundBreakpoint2[1];
            //boundBreakpoints[0] = _boundBreakpoint;
            //ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
            //return Constants.S_OK;

            return(_pendingBreakpoint.EnumBoundBreakpoints(out ppEnum));
        }
コード例 #16
0
        public DebugBreakpointBoundEvent(enum_EVENTATTRIBUTES attributes, IDebugPendingBreakpoint2 pendingBreakpoint, IEnumDebugBoundBreakpoints2 boundBreakpoints)
            : base(attributes)
        {
            Contract.Requires <ArgumentNullException>(pendingBreakpoint != null, "pendingBreakpoint");
            Contract.Requires <ArgumentNullException>(boundBreakpoints != null, "boundBreakpoints");

            _pendingBreakpoint = pendingBreakpoint;
            _boundBreakpoints  = boundBreakpoints;
        }
コード例 #17
0
        public DebugBreakpointBoundEvent(enum_EVENTATTRIBUTES attributes, IDebugPendingBreakpoint2 pendingBreakpoint, IEnumDebugBoundBreakpoints2 boundBreakpoints)
            : base(attributes)
        {
            Contract.Requires<ArgumentNullException>(pendingBreakpoint != null, "pendingBreakpoint");
            Contract.Requires<ArgumentNullException>(boundBreakpoints != null, "boundBreakpoints");

            _pendingBreakpoint = pendingBreakpoint;
            _boundBreakpoints = boundBreakpoints;
        }
コード例 #18
0
        public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            if (_deleted)
            {
                ppEnum = null;
                return(AD7Constants.E_BP_DELETED);
            }

            ppEnum = new EnumDebugBoundBreakpoints(_boundBreakpoints);
            return(VSConstants.S_OK);
        }
コード例 #19
0
 /// <summary>
 /// Enumerates all breakpoints bound from this pending breakpoint.
 /// </summary>
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     DLog.Debug(DContext.VSDebuggerComCall, "DebugPendingBreakpoint.EnumBoundBreakpoints");
     if (IsDeleted)
     {
         ppEnum = null;
         return(HResults.E_BP_DELETED);
     }
     ppEnum = new BoundBreakpointsEnum(boundBreakpoints);
     return(VSConstants.S_OK);
 }
コード例 #20
0
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     if (_boundBreakpoint != null)
     {
         ppEnum = new AD7BoundBreakpointsEnum(new[] { _boundBreakpoint });
     }
     else
     {
         ppEnum = null;
     }
     return(Constants.S_OK);
 }
コード例 #21
0
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 boundBreakpointsEnum)
 {
     if (_newlyBoundBreakpoints != null && _breakpointBoundEnumFactory != null)
     {
         boundBreakpointsEnum = _breakpointBoundEnumFactory.Create(_newlyBoundBreakpoints);
     }
     else
     {
         _pendingBreakpoint.EnumBoundBreakpoints(out boundBreakpointsEnum);
     }
     return(VSConstants.S_OK);
 }
コード例 #22
0
        public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 boundBreakpointsEnum)
        {
            boundBreakpointsEnum = null;
            if (_deleted)
            {
                return(AD7Constants.E_BP_DELETED);
            }

            IBoundBreakpoint[] boundBreakpoints = _boundBreakpoints.Values.ToArray();
            boundBreakpointsEnum = _breakpointBoundEnumFactory.Create(boundBreakpoints);
            return(VSConstants.S_OK);
        }
コード例 #23
0
ファイル: AD7Breakpoint.cs プロジェクト: lauxjpn/mysql-for-vs
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     Debug.WriteLine("AD7Breakpoint: EnumBoundBreakpoints");
     if (enumError == null)
     {
         ppEnum = this;
         return(VSConstants.S_OK);
     }
     else
     {
         ppEnum = null;
         return(VSConstants.E_FAIL);
     }
 }
コード例 #24
0
        int IDebugBreakpointEvent2.EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            ppEnum = null;
            if (_boundBreakpoints == null)
            {
                return(Constants.S_OK);
            }
            else
            {
                return(_boundBreakpoints.EnumBoundBreakpoints(out ppEnum));
            }

            //ppEnum = _boundBreakpoints;
            //return Constants.S_OK;
        }
コード例 #25
0
        // Enumerates all breakpoints bound from this pending breakpoint
        int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            ppEnum = null;

            if (_breakpoint != null)
            {
                lock (_breakpoint) {
                    IDebugBoundBreakpoint2[] boundBreakpoints = _breakpoint.GetBindings()
                                                                .Select(binding => _bpManager.GetBoundBreakpoint(binding))
                                                                .Cast <IDebugBoundBreakpoint2>().ToArray();

                    ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
                }
            }

            return(VSConstants.S_OK);
        }
コード例 #26
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            //
            // Enumerates all breakpoints bound from this pending breakpoint.
            //

            LoggingUtils.PrintFunction();

            try
            {
                ppEnum = new DebuggeeBreakpointBound.Enumerator(m_boundBreakpoints.ToArray());

                return(Constants.S_OK);
            }
            catch (Exception e)
            {
                LoggingUtils.HandleException(e);

                ppEnum = null;

                return(Constants.E_FAIL);
            }
        }
コード例 #27
0
 // Enumerates all breakpoints bound from this pending breakpoint
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     lock (this)
         ppEnum = new AD7BoundBreakpointsEnum(m_boundBreakpoints.ToArray());
     return Constants.S_OK;
 }
コード例 #28
0
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     return(_breakpoint.EnumBoundBreakpoints(out ppEnum));
 }
コード例 #29
0
 /// <summary>
 /// Enumerates all breakpoints bound from this pending breakpoint.
 /// </summary>
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     DLog.Debug(DContext.VSDebuggerComCall, "DebugPendingBreakpoint.EnumBoundBreakpoints");
     if (IsDeleted)
     {
         ppEnum = null;
         return HResults.E_BP_DELETED;
     }
     ppEnum = new BoundBreakpointsEnum(boundBreakpoints);
     return VSConstants.S_OK;
 }
コード例 #30
0
ファイル: EngineEvents.cs プロジェクト: vairam-svs/poshtools
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     Trace.WriteLine("BreakpointEvent: EnumBreakpoints");
     ppEnum = _breakpoint;
     return VSConstants.S_OK;
 }
コード例 #31
0
        public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            if (_deleted)
            {
                ppEnum = null;
                return AD7Constants.E_BP_DELETED;
            }

            ppEnum = new EnumDebugBoundBreakpoints(_boundBreakpoints);
            return VSConstants.S_OK;
        }
コード例 #32
0
ファイル: AD7Events.cs プロジェクト: Strongc/VSLua
 int IDebugBreakpointEvent2.EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = m_boundBreakpoints;
     return VSConstants.S_OK;
 }
コード例 #33
0
 public BreakpointHit (IEnumDebugBoundBreakpoints2 boundBreakpoints)
 {
   m_boundBreakpoints = boundBreakpoints;
 }
コード例 #34
0
ファイル: Breakpoint.cs プロジェクト: vsrad/radeon-asm-tools
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[] { this });
     return(VSConstants.S_OK);
 }
コード例 #35
0
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = _breakpoints;
     return(VSConstants.S_OK);
 }
コード例 #36
0
ファイル: AD7Events.cs プロジェクト: aluitink/aspnet-debug2
        int IDebugBreakpointEvent2.EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            ppEnum = null;
            if (_boundBreakpoints == null)
                return Constants.S_OK;
            else
                return _boundBreakpoints.EnumBoundBreakpoints(out ppEnum);

            //ppEnum = _boundBreakpoints;
            //return Constants.S_OK;
        }
コード例 #37
0
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum) {
     ppEnum = new AD7BoundBreakpointEnum(
         _boundBreakpoint == null ?
         new IDebugBoundBreakpoint2[] { } :
         new IDebugBoundBreakpoint2[] { _boundBreakpoint });
     return VSConstants.S_OK;
 }
コード例 #38
0
      int IDebugBreakpointEvent2.EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
      {
        LoggingUtils.PrintFunction ();

        ppEnum = m_boundBreakpoints;

        return Constants.S_OK;
      }
コード例 #39
0
ファイル: AD7Events.cs プロジェクト: bagobor/NodeVsDebugger
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[] { m_boundBreakpoint });
     return Constants.S_OK;
 }
コード例 #40
0
 public DebugBreakpointEvent(enum_EVENTATTRIBUTES attributes, IEnumDebugBoundBreakpoints2 breakpoints)
     : base(attributes)
 {
     Contract.Requires<ArgumentNullException>(breakpoints != null, "breakpoints");
     _breakpoints = breakpoints;
 }
コード例 #41
0
ファイル: AD7Events.cs プロジェクト: vsrad/radeon-asm-tools
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[] { _breakpoint });
     return(VSConstants.S_OK);
 }
コード例 #42
0
 int IDebugBreakpointEvent2.EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = _boundBreakpoints;
     return(Constants.S_OK);
 }
コード例 #43
0
ファイル: AD7Events.cs プロジェクト: Strongc/VSLua
 public AD7BreakpointEvent(IDebugBoundBreakpoint2 boundBreakpoint)
 {
     // m_boundBreakpoints = boundBreakpoints;
     this.m_boundBreakpoints = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[] { boundBreakpoint });
 }
コード例 #44
0
 int IEnumDebugBoundBreakpoints2.Clone(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
   Debug.WriteLine("AD7Breakpoint: Clone");
   throw new NotImplementedException();
 }
コード例 #45
0
ファイル: AD7Events.cs プロジェクト: aluitink/aspnet-debug2
        int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            //IDebugBoundBreakpoint2[] boundBreakpoints = new IDebugBoundBreakpoint2[1];
            //boundBreakpoints[0] = _boundBreakpoint;
            //ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
            //return Constants.S_OK;

            return _pendingBreakpoint.EnumBoundBreakpoints(out ppEnum);
        }
コード例 #46
0
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = _breakpoints;
     return VSConstants.S_OK;
 }
コード例 #47
0
 public DebugBreakpointEvent(enum_EVENTATTRIBUTES attributes, IEnumDebugBoundBreakpoints2 breakpoints)
     : base(attributes)
 {
     Contract.Requires <ArgumentNullException>(breakpoints != null, "breakpoints");
     _breakpoints = breakpoints;
 }
コード例 #48
0
        // Enumerates all breakpoints bound from this pending breakpoint
        int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum) {
            ppEnum = null;

            if (_breakpoint != null) {
                lock (_breakpoint) {
                    IDebugBoundBreakpoint2[] boundBreakpoints = _breakpoint.GetBindings()
                        .Select(binding => _bpManager.GetBoundBreakpoint(binding))
                        .Cast<IDebugBoundBreakpoint2>().ToArray();

                    ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
                }
            }

            return VSConstants.S_OK;
        }
コード例 #49
0
 public AD7BreakpointEvent(IEnumDebugBoundBreakpoints2 boundBreakpoints)
 {
     _boundBreakpoints = boundBreakpoints;
 }
コード例 #50
0
ファイル: Breakpoint.cs プロジェクト: IntelliTect/PowerStudio
 /// <summary>
 /// Enumerates all breakpoints bound from this pending breakpoint.
 /// </summary>
 /// <param name="ppEnum">Returns an IEnumDebugBoundBreakpoints2 object that enumerates the bound breakpoints.</param>
 /// <returns>If successful, returns S_OK; otherwise, returns an error code. Returns E_BP_DELETED if the breakpoint has been deleted.</returns>
 public virtual int EnumBoundBreakpoints( out IEnumDebugBoundBreakpoints2 ppEnum )
 {
     Logger.Debug( string.Empty );
     ppEnum = null;
     return VSConstants.E_NOTIMPL;
 }
コード例 #51
0
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
   Debug.WriteLine("AD7Breakpoint: EnumBoundBreakpoints");
   if (enumError == null)
   {
     ppEnum = this;
     return VSConstants.S_OK;
   }
   else
   {
     ppEnum = null;
     return VSConstants.E_FAIL;
   }
 }
コード例 #52
0
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
   ppEnum = _breakpoint;
   return VSConstants.S_OK;
 }
コード例 #53
0
 public DebugStepCompleteEvent(enum_EVENTATTRIBUTES attributes, IEnumDebugBoundBreakpoints2 breakpoints, enum_STEPSTATUS stepStatus)
     : base(attributes)
 {
     _breakpoints = breakpoints;
     _stepStatus = stepStatus;
 }
コード例 #54
0
 public virtual void OnBreakpoint( IEnumDebugBoundBreakpoints2 boundBreakpoints )
 {
     Logger.Debug( string.Empty );
     var eventObject = new BreakpointEvent( boundBreakpoints );
     OnDebugEvent( eventObject, InterfaceGuids.IDebugBreakpointEvent2Guid );
 }
コード例 #55
0
 // Enumerates all breakpoints bound from this pending breakpoint
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     IDebugBoundBreakpoint2[] boundBreakpoints = _boundBreakpoints.ToArray();
     ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints);
     return VSConstants.S_OK;
 }
コード例 #56
0
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     return _breakpoint.EnumBoundBreakpoints(out ppEnum);
 }
コード例 #57
0
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     return(_breakpoint.EnumBoundBreakpoints(out ppEnum));
 }
コード例 #58
0
ファイル: AD7Events.cs プロジェクト: happylancer/node-tools
 public AD7BreakpointEvent(IEnumDebugBoundBreakpoints2 boundBreakpoints)
 {
     m_boundBreakpoints = boundBreakpoints;
 }
コード例 #59
0
 public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = _breakpoints;
     return ppEnum != null ? VSConstants.S_OK : VSConstants.E_NOTIMPL;
 }
コード例 #60
0
      int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints (out IEnumDebugBoundBreakpoints2 ppEnum)
      {
        LoggingUtils.PrintFunction ();

        List<IDebugBoundBreakpoint2> boundBreakpoints = new List<IDebugBoundBreakpoint2> (1);

        boundBreakpoints.Add (m_boundBreakpoint);

        ppEnum = new DebuggeeBreakpointBound.Enumerator (boundBreakpoints);

        return Constants.S_OK;
      }