Ejemplo n.º 1
0
        /*
         *  Function breakpoints are a bit special.  In order not to burden the TinyCLR with duplicate function
         *  breakpoints for each AppDomain.
         */
        public override bool Equals(CorDebugBreakpointBase breakpoint)
        {
            CorDebugFunctionBreakpoint bp = breakpoint as CorDebugFunctionBreakpoint;

            if (bp == null)
            {
                return(false);
            }

            if (this.m_breakpointDef.m_IP != bp.m_breakpointDef.m_IP)
            {
                return(false);
            }
            if (this.m_breakpointDef.m_md != bp.m_breakpointDef.m_md)
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 2
0
        int ICorDebugFunction.CreateBreakpoint( out ICorDebugFunctionBreakpoint ppBreakpoint )
        {
            ppBreakpoint = new CorDebugFunctionBreakpoint( this, 0 );

            return Utility.COM_HResults.S_OK;
        }
        int ICorDebugFunction.CreateBreakpoint(out ICorDebugFunctionBreakpoint ppBreakpoint)
        {
            ppBreakpoint = new CorDebugFunctionBreakpoint(this, 0);

            return(Utility.COM_HResults.S_OK);
        }
Ejemplo n.º 4
0
        int ICorDebugCode.CreateBreakpoint(uint offset, out ICorDebugFunctionBreakpoint ppBreakpoint)
        {
            ppBreakpoint = new CorDebugFunctionBreakpoint(m_function, offset);

            return(Utility.COM_HResults.S_OK);
        }
Ejemplo n.º 5
0
        int ICorDebugCode.CreateBreakpoint (uint offset, out ICorDebugFunctionBreakpoint ppBreakpoint)
        {
            ppBreakpoint = new CorDebugFunctionBreakpoint(m_function, offset);

            return Utility.COM_HResults.S_OK;
        }