To measure the real effects of credit-supply disruptions during financial crises, we develop a quantitative model of firm investment and debt that features firm heterogeneity and financial frictions. We apply this framework to a novel, census-type panel dataset for manufacturing firms and find...