February 2014
Beginner
1248 pages
62h 25m
English
Sometimes you’ll need to execute an application line by line to find and fix errors. Walking through a portion of your application this way can help you verify that a method’s code executes correctly. In this section, you’ll learn how to use the debugger for this task. The commands you learn in this section allow you to execute a method line by line, execute all the statements of a method at once or execute only the remaining statements of a method (if you’ve already executed some statements within the method).
Once again, we assume you’re working in the directory containing the Appendix E examples and have compiled for debugging with the -g compiler option.
1. Starting the ...
Read now
Unlock full access