As part of our debug code, we built in some deadlock detection logic — for example, logic that detects and reports layering violations.
The utility also performs deadlock detection.
The Database Engine typically performs periodic deadlock detection only.