target: add debug_reason_name()