Design and Implementation of the Debugger for Smart Cross Platform

Yunsik Son, Seman Oh, Yangsun Lee
2016 International Journal of Software Engineering and Its Applications  
Virtual machine technology is one of core technologies for mobile, cloud, and IoT, which is intended to provide environments independent of certain hardware. The scope of utilization of virtual machines is being widened further because virtual machines simplify complicated execution and development environments fragmented by type of devices or platforms and provide consistent program development methods and common execution methods. Smart virtual machine (SVM) is a software processor that can
more » ... loaded on various devices such as smart devices and embedded devices and are core modules of smart cross platforms for providing language/platform-independent functions to users in order to improve the reusability of contents. SVM supports programming languages such as C/C++, Java, and Objective C and diverse execution environments such as Android, iOS, Linux, and Windows. In the present paper, a debugger for more effective support for the development of SVM applications was designed and implemented. Through analysis of existing diverse debug file formats, a debug file format that can cover the diverse languages and execution environments supported by SVM was designed, assemblers and compilers were expanded based on the designed debug file format, and debugging processes were shown in which a debugger was implemented using the proposed debug file format. 84 Copyright ⓒ 2016 SERSC SVM Debugger SVM debuggers' functions are largely divided into execution and reference groups. The execution group includes execution, execution by line, execution by command, next line execution, continuous execution, and break point designation functions and the reference group consists of thread information, local variable information, operation expression implementation information, and execution location-source mapping functions.
doi:10.14257/ijseia.2016.10.1.09 fatcat:j3efb2ql7bh4ximhihonlztuk4