The best way to debug a program is to make it work.