Debug support for expressions in formulas