
528 Chapter 11 • Optimizing, Debugging, and Testing
Debug Menu
The Visual Basic .NET IDE Debug menu provides us with some very useful
tools, which are very helpful for debugging in the runtime environment. Each
provides a unique way to control execution of your code line-by-line.The tools
include Step Into, Step Out, Step Over, and Run To Cursor.We now
examine their functionality. Follow these steps:
1. Open the code view for the designer of the simple calculator. In the
code, place the cursor on the line where the Button1_Click() method
begins.
2. Place a breakpoint there by pressing F9.A breakpoint will halt execution
when the compiler reaches this ...