To shorten a loading time to a target system, of execution binary and debug information output from a compiler, particularly in a debug system for a program capable of verifying execution contents by a debugger while executing debug, with respect to the debug of execution binary compiling a source program.
The source program 1 is compiled by the compiler 2, and the execution binary 3 and the debug information 4 are obtained. The execution binary 3 and the debug information 4 are loaded on a target system (not shown), to be debugged. A statement of the source program 1 not needing the debug information is designated by a user on the basis of a result of debug, and a debug information elimination table 25 indicating the designated statement is created after the debug, and provided to the compiler 2. When the source program after the processing such as correction in accordance with the result of debug, is compiled by the compiler 2, the debug information 4 is not output to the statement on the debug information elimination table, and a size of the debug information is reduced.
Kenjiro Take
Hirohiro Ichimura