Have you run tried debugging in step by step mode? If so what does it show?