1312 Visual Studio (Web server setup) .NET Debugger Appendix D Outline
1312 Visual Studio .NET Debugger Appendix D Outline D.1 Introduction D.2 Breakpoints D.3 Examining Data D.4 Program Control D.5 Additional Method Debugging Capabilities D.6 Additional Class Debugging Capabilities Summary D.1 Introduction Two types of errors occur during software development: syntax errors and logic errors. Syntax errors (or compilation errors) occur when program statements violate the grammatical rules of a programming language, such as failure to end a statement with a semicolon. When a compiler detects syntax errors, the compiler terminates without building the application. By contrast, logic errors do not prevent programs from compiling or executing, but rather prevent programs from operating as expected. Syntax errors are easier to fix than are logic errors. Upon detecting a syntax error, the compiler gives the description and line number in the Task List window (Fig. D.1). This information gives the programmer a clue as to how to eliminate the error, so the compiler can create the program. However, logic errors often are more subtle and usually do not inform the user exactly where in the program the error occurred. This appendix overviews both types of errors and details Visual Studio .NET s capabilities for detecting and correcting the these logic errors. Syntax error Error message Fig. D.1 Fig. D.1Fig. D.FiFi1g. D.1g. D.1Syntax error.
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.