COMP 2150 Study Guide - Final Guide: Common Language Runtime, Compile Time, Computer File

175 views2 pages

Document Summary

An object defined using the dynamic keyword can store anything. In most cases, it behaves like an object. At compile time, an element that is typed as dynamic is assumed to support any operation. One form of run-time error is a logic error. Logic errors are normally associated with programs that run but produce incorrect results. If the application involves a loop, the loop could be performing one too many or one too few times, producing an incorrect result. The debugger provides commands for controlling the execution of your application. Breakpoints are markers that are placed in an application, indicating the program should halt execution when it reaches that point. When the break occurs, the program and the. Debugger are said to be in break mode. While in break mode, you can examine expressions to see what values are being generated. If your program is not consistently producing correct results, this enables you to check intermediate values.