Method for debugging Java language program and virtual machine program together

2008 
The invention provides a method for jointly debugging a Java language program and a virtual machine program. The method comprises the following steps: compiling an application program unit in a Java language debugging integrated module of an operating system platform, compiling a virtual machine unit in a C language debugging integrated module, setting a plurality of calling function modules in the application program unit, assigning a unique ID number to each calling function module, setting parameters and exception handling mechanism of the calling function modules, arranging a plurality ofcalled function module corresponding to a plurality of calling function modules in the virtual machine unit; establishing a communication relation between the application program unit and the virtualmachine unit on the operating system platform and running the application program unit and the virtual machine unit; and modifying error codes of the calling function modules which are found by the exception handling mechanism. The debugging method causes developers to intuitively debug the application program unit which is compiled by the Java language, which improves the debugging efficiency.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []