We propose a model that jointly determines the capital structure and investment decisions taking business cycle and debt maturity into account. Namely, the firm can switch the diffusion regime of asset value, which involves switching costs, and the state of the economy that generates cyclical...