You must compile your application with debugging information in order to be able to set breakpoints, to stop your application while running it, and to single-step through source code. To do this, select the Debug option under the project settings for the compiler.