fix bug with recording recent processor FSM states for debugging.