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;
}