Patent ID: 8370810

Claim:
A non-transitory computer-readable medium storing a debug program that causes a computer to execute debugging of a program, the debug program comprising: a display selecting instruction to select display or non-display of a code that does not need to be debugged in which a predetermined processing instruction is described, wherein the code that does not need to be debugged is generated by optimization of a compiler for a source code of the program; and a display processing instruction to, if the display of the code that does not need to be debugged is selected, display a first predetermined message indicating a start and an end of the code that does not need to be debugged immediately before and immediately after the code that does not need to be debugged respectively, and if the non-display of the code that does not need to be debugged is selected, hide the code that does not need to be debugged and display only a second predetermined message indicating that the code that does not need to be debugged is hidden.