Esempio n. 1
0
        /// <summary>
        /// Constructs a new breakoint in the debugged process.
        /// </summary>
        /// <param name="breakpointCollection">A collection that holds programs breakpoints.</param>
        /// <param name="location">An object that is capable of resolving breakpoint location.</param>
        public MDbgFunctionBreakpoint(MDbgBreakpointCollection breakpointCollection, ISequencePointResolver location)
            : base(breakpointCollection)
        {
            m_location = location;
            Bind();

            if (breakpointCollection != null)
            {
                breakpointCollection.NotifyChanged(this);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Constructs a new breakoint in the debugged process.
        /// </summary>
        /// <param name="breakpointCollection">A collection that holds programs breakpoints.</param>
        /// <param name="location">An object that is capable of resolving breakpoint location.</param>
        public MDbgFunctionBreakpoint(MDbgBreakpointCollection breakpointCollection, ISequencePointResolver location)
            : base(breakpointCollection)
        {
            m_location = location;
            Bind();

            if (breakpointCollection != null)
            {
                breakpointCollection.NotifyChanged(this);
            }
        }