VSNDK.DebugEngine.AD7PendingBreakpoint.CanBind C# (CSharp) Method

CanBind() private method

Determines whether this pending breakpoint can bind to a code location.
private CanBind ( ) : bool
return bool
        private bool CanBind()
        {
            // The engine only supports these types of breakpoints:
            // - File and line number.
            // - Function name and offset.
            if (this.m_deleted || m_engine.m_process == null)
            {
                return false;
            }
            else if (m_bpRequestInfo.bpLocation.bpLocationType == (uint)enum_BP_LOCATION_TYPE.BPLT_CODE_FILE_LINE
                || m_bpRequestInfo.bpLocation.bpLocationType == (uint)enum_BP_LOCATION_TYPE.BPLT_CODE_FUNC_OFFSET)
            {
                return true;
            }

            return false;
        }