Are you using an IDE to build your application? It looks more like you set a breakpoint somewhere in the IDE than a problem with the application code. Try using commandline tools to build and execute your application and see if the problem persists.