Thanks everyone for the answers. I closed VFP, deleted the fxp files and recompiled. Seems to have done the trick. Al
-----Original Message-----
Breakpoints you set in the code window are not updated correctly if you add/remove code before the location where the breakpoint is set. That's why you get it seemingly stopping at places where you don't actually have a breakpoint set, or not stopping where you think you have a breakpoint set.