Breakpoints and Data Tips

Breakpoints enable you to control the execution flow of an application. A breakpoint breaks the execution of the application at the point where the breakpoint itself is placed so that you can take required actions (a situation known as break mode). You can then resume the application execution. To place a breakpoint on a specific line of code, you just place the cursor on the line of code you want to debug and then press F9.

Tip

To add a breakpoint, you can also right-click the line of code you want to debug and select the Breakpoint, Insert breakpoint command from the context menu, or you can click the leftmost column in the code window.

A breakpoint is easily recognizable because it highlights in red the selected ...

Get Visual Basic 2015 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.