Method and system for debugging intelligent card virtual machine, API bank and upper layer application at same time

2014 
The invention provides a method for debugging an intelligent card virtual machine, an API bank and an upper layer application at the same time. The method includes the steps that native language format debugging information is generated directly for a native virtual machine code; upper layer language format debugging information is generated directly for an API bank code; the method for generating the debugging information of the upper layer application dynamically loaded includes the steps that the application is loaded into a running environment; through the interface of the intelligent card virtual machine, base addresses of all components of the application in the current running environment are obtained; the base addresses of all the components in the current running environment and a source code of the application are input together, an offset address is obtained through the source code of the application, and through the method of the base addresses and the offset address, correct actual application debugging information meeting the running environment is generated; virtual machine debugging information, API bank debugging information and upper layer application debugging information are loaded into a debugger so that the intelligent card virtual machine, the API bank and the upper layer application can be debugged completely. The range of simultaneous integrated debugging is expanded, and the dynamic application can be achieved, the virtual machine and the API bank can be debugged at the same time in an integrated mode.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []