bool BreakpointLocationList::ShouldStop(StoppointCallbackContext *context, lldb::break_id_t break_id) { BreakpointLocationSP bp = FindByID(break_id); if (bp) { // Let the BreakpointLocation decide if it should stop here (could not have // reached it's target hit count yet, or it could have a callback that // decided it shouldn't stop (shared library loads/unloads). return bp->ShouldStop(context); } // We should stop here since this BreakpointLocation isn't valid anymore or // it doesn't exist. return true; }