in reply to When my script doesn't work, I ...

  1. Save the extra code written while it was compiling & running, and run it again.
  2. Fix any obvious typos pointed out by the compile phase, run it again.
  3. Goto (2) until the code segment currently being worked on is done.
  4. Work on problem from (1)

Most of the time the problem is that a function hasn't been written yet, but if its a real bug, then dumper + code folding text editor is the way to go.