Things that 'should not happen' should end in debug_report_bug(), not logDebugMessage...