Sep 26, 2009

Discover the Error and Correct It

Visual Basic has one of the most useful tools in helping you discover and correct your errors. Starting from highlighting the statement with error, giving you a quick watch of the value of the variables at that stage or even giving you the best menomic message at the run time that will help you identify the error.

In addition to all of this…the debugging tools provided is amazing and very useful. I will not go into debugging detail now.

The useful approach that I have used is the following:

  1. Read the error message thoroughly and try pressing F1 to get additional help
  2. The second step would be to identify the expected value of the variables as well the current values (hover with the mouse over them)
  3. Bing on the .NET for possible reasons as well as solution
  4. Last Resort…ping me or any other friend for help…

Happy Programming :)

No comments: