Summary
- There are three main indications of a problem/condition:
message,warning,error- only an
erroris fatal
- only an
- When analyzing a function with a problem, make sure you can reproduce the problem, clearly state your expectations and how the output differs from your expectation
- Interactive debugging tools
traceback,debug,browser,trace, andrecovercan be used to find problematic code in functions - Debugging tools are not a substitute for thinking!
No comments:
Post a Comment