June 2006
Intermediate to advanced
1344 pages
42h 52m
English
We begin by investigating breakpoints, which are markers that can be set at any executable line of code. When a running program reaches a breakpoint, execution pauses, allowing you to examine the values of variables to help determine whether logic errors exist. For example, you can examine the value of a variable that stores the result of a calculation to determine whether the calculation was performed correctly. You can also examine the value of an expression.
To illustrate the debugger features, we use the program in Fig. C.1 and C.2 that creates and manipulates an Account (Fig. C.1) object. This example is based on the concepts presented through Chapter 4, so it does not use features that are presented ...
Read now
Unlock full access