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

...check to make sure my script REALLY doesn't work.

Never ceases to amaze me how many bugs are entirely cases of not seeing what I think I'm seeing.

PS: I contend the question should be phrased "the first thing I do is..." because I regularly go through most of those steps eventually.