Resources¶
Workshop scripts¶
Understanding error messages: stacktrace.py, stacktrace.R, and long_stacktrace.py.
Using a debugger: first_demo.py and first_demo.R.
Square numbers: square_numbers.py and square_numbers.R.
Perfect numbers: perfect_numbers.py and perfect_numbers.R.
Python vs R: sir_ode.py and sir_ode.R.
Useful materials¶
- Julia Evans has written a lot of great materials about debugging:
- Debug with pdb and breakpoint
- Advanced R: Debugging
- RStudio Cheatsheet: Debugging