May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Most debugging features illustrated in this chapter require some code before you can use them. At the moment we are more interested in the Visual Studio 2010 instrumentation than in complex code, so we start with a simple code example that is a good base for understanding how the debugger works. Therefore, you can create a new Visual Basic project for the Console and then type the code, as shown in Listing 5.1.
Listing 5.1 Preparing the Base for the Debugger

The code is quite simple. The application just asks the user to enter a string and then returns False if the string is null or is empty, whereas it returns True if the ...
Read now
Unlock full access