
156Microsoft Visual Studio 2010: A Beginner’s Guide
Creating a Breakpoint
To create a breakpoint, you need to open a project and have a code file open in the editor. A good project choice would be the example application with code from Listing
To ensure VS stops on a breakpoint, the application must be running in debug mode. You can start the program running in debug mode by selecting Debug Start Debugging, pressing F5, or clicking the Start With Debugging toolbar button (the one with the green arrow). The breakpoint in Figure