The amount of debt that is canceled ( including the amount of capitalized interest that is canceled , if any ) is a gain to the entity whose debt is canceled and a loss to Treasury ( or other agency ) .
The amount of canceled debt is a gain for the entity whose debt is being canceled .