Before we can debug our code, we must start a special "debug" run of the code. Starting the debug run is similar to running a normal application:
PowerOfTwo
class.After a second or two, your program will start to run. It will stop on the line at which you placed your breakpoint. This line will be highlighted, and a small, blue arrow will appear in the vertical ruler beside this line.
You can now go through the process of finding the bugs in the program. But first, it is important that you understand some of the information that is given to you while you are running in debug mode. We must discuss the Gild Debug View.