Working with Breakpoints and Trace Points

In Chapter 2 we introduced breakpoints and saw how we can break the application execution before some statements are executed. In Visual Studio 2010, breakpoints are more powerful than in the previous versions of the IDE. We now discuss some interesting features of breakpoints when debugging Visual Basic applications.

The Breakpoints Window

Using the Breakpoints window you can manage all breakpoints in your solution. You can open such a window by pressing Ctrl+Alt+B. Supposing we placed three breakpoints in our sample application, Figure 5.2 shows how the Breakpoints window looks.

Figure 5.2 The Breakpoints window.

In the Breakpoints window you can easily manage your breakpoints. For example, you could ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.