Use when a program fails, throws an exception, or behaves incorrectly and you need a systematic path to a root-cause fix.