Added debug and trace assertion statuses, to allow assertions that are only relevant when debugging or tracing.