
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















Syntax errors are detected at compile time Use the Error List window to find these errors The debugging tools cannot help with syntax errors Runtime errors occur as an application executes Logic errors cause an application to produce unexpected results but do not cause exceptions
Sequential files with extra trailing carriage returns will generate errors Sequential files with extra or missing fields will also cause errors Omitting the carriage return on the last record may cause the last record to be ignored
Numeric overflow results in the following exception: Correct by performing double precision arithmetic instead of integer arithmetic
Integer division by zero throws a System.DivideByZeroException : Fix by testing the dividend value
Division by zero is handled differently for floating point numbers and floating point division Division by zero results in the value Infinity Test using Double.IsInfinity(Value)
Do while the application is in break mode In the Code Editor, highlight the variable, object, or property Expand or collapse complex objects as necessary
Set simple breakpoints on a line by clicking in the left margin in the Code Editor A maroon circle appears in the left margin Breakpoints may be set only on executable statements because declaration statements don’t execute!
Breakpoints appear in the Breakpoints window
Break on an iteration count Hit count breakpoints are configurable
Break after 999 iterations
Conditional breakpoints are hit when The value of a Boolean condition is True The value of a condition has changed
There are multiple Watch windows Each works the same way Just create an expression to be watched Use Watchpoints instead of repeatedly typing the same expression in the Immediate window Beware of setting too many Watchpoints – Execution will become quite slow
Watch the variable “f”