Also, turn off optimizations in Project -> Options -> Compiler for any debug build. It does stuff that's meant to help your program run more efficiently, but it can screw up a lot of debugging efforts by eliminating certain variables whose value you might want to see. I've also had them screw up breakpoints once or twice, though I'm not quite sure why.

(Just remember to turn Optimizations back on again for any real version.)

Mason