February 2014
Beginner
1248 pages
62h 25m
English
We begin our study of the debugger by investigating breakpoints, which are markers that can be set at any executable line of code. When application execution 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. Setting a breakpoint at a line of code that is not executable (such as a comment) causes the debugger to display an error message.
To illustrate the features of the debugger, we use application AccountTest (Fig. E.1), which creates and manipulates ...
Read now
Unlock full access