Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Best Practice for Debugging Code


I am new to development in Crystal. What method do you recommend to verify my formulas are doing what I expect? For example, in other environments I would print or prompt the result.

What is the best approach in Crystal?

Any help you can provide will be appreciated.

Former Member
Former Member replied

I'm sorry, I should have mentioned to put this at the BOTTOM of the formula, not at the top. The values displayed are what they are at the point of the divide by zero error. If the division is first thing in the formula, none of the other calculations have been performed yet... (Actually, you want to put it at the exact point where you want the breakpoint. That can be in the middle of the formula.)



1 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question