Powered by Blogger.

Visual Basic .NET Debugging

As soon as you create a new project, it is ready to run.
However if you run it immediately it will display only an empty form containing no controls.
This form will compile and run smoothly because there is nothing to be debugged/validated yet.

As soon as you add some controls to your form and write appropriate code for them you will want to test your application. To do that you simply start debugging!

There are several ways to start debugging:
1. Open the Debug menu and select "Start Debugging".
2. If you’re using the Visual Basic environment settings, you can simply press F5
3. Click Debug item in the toolbar as shown on the image below:





If there are no errors your app will run shortly after you started debugging.



Please watch the Output Windows as this window displays compilation results and output produced by Debug and Trace statements.