Next: Minimizing Complexity, Previous: Troubleshooting, Up: Debugging   [Contents][Index]


7.6.5 Print Statements and Asserts ¶

Don’t hesitate to add print statements (e.g., print or message) to trace the execution path. Such trace logs can also serve as evidence from which to form hypotheses about bugs. You could also use cl-assert to assert assumptions at specific points.