摘要 |
PROBLEM TO BE SOLVED: To obtain debug information without using a debugger without reproducing a program when debugging, in a source program conversion device converting a source program to be debugged, a source program conversion method, a source program conversion program and a program recording medium. SOLUTION: A source program conversion part 12 converts the source program 11 into a second program language to produce intermediate data 17, sequentially reads a processing program from the intermediate data 17, and adds an interactive debug routine calling instruction to produce a post-conversion source program 13. The source program conversion part 12 adds an interactive debug routine to the post-conversion source program 13. The post-conversion source program 13 obtained in this way is converted into an execution form file by a compiler 14, and is executed by a computer to perform a debug process. Accordingly, every time one processing program is executed, the interactive debug routine is executed interactively to an operator, and an analysis/execution process for a command inputted from the operator is performed. Thus, efficiency of debug operation is improved. COPYRIGHT: (C)2005,JPO&NCIPI
|