# 01 · read-deep-traceback **演示**:三层调用(`formatted → compute → load`)+ 两次 `raise ... from`,Traceback 从下往上读;`direct cause` 表示显式异常链。 **运行**: ```sh uv run python examples/26-debugging-diagnostics/01-read-deep-traceback/read_deep_traceback.py ``` **预期输出**(3.12.9,路径省略): ```text Traceback (most recent call last): File ".../read_deep_traceback.py", line 10, in load return data["count"] KeyError: 'count' The above exception was the direct cause of the following exception: ... ValueError: missing count ... TypeError: compute failed ``` **依赖**:仅标准库。 **注意**:读栈从最内层(最后一段)开始,沿 `direct cause` 往上看;每段 `File ..., line N` 是抛出点,不是调用者。