MDL-36091 added debugging() calls in blocks of code marked as "should never happen"