Research of Virtualization of Program Implement and Debug on the Base of Virtual Machine

Author
FanJinBao
Advisor
WuWeiMin
School
Guangdong University of Technology
Major
Computer Software and Theory
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2008
Downloads
66
Citations
0

Request the full text

Abstract

In tradition, software building integrated development environment, more of then just impletment visual program interface and in defect of dynamic views of precessing of program implement and debug. In addition, tradition software building integrated development environment lack of platform-independent. Combining of VM’s pellucidly, isolated, encapsulation and platform-independent of this paper, the resarech of this paper is virtualization of program implement and debug on the base of virtual machine.The paper discussion about view of process of program implementting and debugging throuth building integrated development environment of AnyviewB which basing on VM.AnyviewB is an integrated development environment of EBASIC(Extension BASIC) language. On the base of QBASIC, EBASIC also consult other BASIC and extend them. The paper has given of EBNF grammer of EBASIC.There are lex analyse, grammar analyse, semantic analyse and codes generator in compiler of AnyviewB. The codes which are generated by codes generator is platform-independent, they are used by EBASIC visualization VM. Furthermore, errors processor is builded in VM, errors processor can found and report the errors which produced by lex analysed, grammor analysor, semantic analysor and codes generator.There is visualization technology in EBASIC VM, it provides dynamic views when program is implemented and debugged, and the dynamic views include stack’s view. Array is viewd by two-dimensional coordinates in the program.Furthermore, AnyviewB provides basic function of view Debug, and also can one-step implements program, set broken dots and continuously implement EBASIC programs. The programs and datas will be intuitionistic denote if the compiling and running is visualized, and users can observe the diversification of running program and the datas via dynamic or static views, so as to increase transparence of running program and process of debug.AnyviewB not only can output the error of program in the output window, and poit out the error line No; but also distinguish from diversified variables, and monitoring the program’s running, and display it’s state of running and debugging via dynamic views.

Table of contents

Abstract 4-5 ABSTRACT 5-13 first chapter 13-19 1.1 visual introduction 13-14 1.1.1 scientific computing visualization 13-14 1.1.2 program design visualization 14 the of 1.2 existing popular Integrated Development Environment Overview 14-17 1.2.1 Visual BASIC development environment 15 1.2.2 Visual C development environment 15-16 1.2.3 Dephi development environment 16-17 1.3 Anyview Series software 17 1.4 projects proposed and Implementation 17-19 the virtual machine technology 19-24 2.1 virtual technology 19-20 2.2 virtual machine technology 20 2.3 virtual machine classification 20 the characteristics of 2.4 virtual machine 20-21 2.5 virtual machine visualization 21-24 2.5.1 development environment visual status 21 the lack 2.5.2 traditional compiler system 21-22 the advantage of 2.5.3 virtual machine software mode 22-23 2.5.4 virtual machine visualization proposed 23-24 the EBASIC grammar 24-44 3.1 BASIC language overview 24-25 3.1.1 BASIC development 24-25 3.1.2 QBASIC birth of 25 3.1.3 Visual BASIC 25 3.2 EBASIC syntax 25-33 3.2.1 EBASIC similarities and differences with QBASIC and Visual BASIC 26-27 3.2.2 EBASIC code structure 27-28 3.2.3 EBASIC identifier 28-30 3.2.4 EBASIC keyword 30 3.2.5 EBASIC type 30-32 3.2.6 EBASIC numeric types 32 the 3.2.7 EBASIC language basic character set 32-33 3.3 EBASIC grammar rules 33-44 Chapter compiled system design 44-54 4.1 compiler system 44-45 4.2 lexical analysis 45-46 4.3 parsing 46-47 4.4 scope analysis 47-50 4.4.1 EBASIC local variables and global variables 47 4.4.2 function nested calls and recursive call 47-48 4.4.3 program structure 48-50 4.5 code generated 50 4.6 error processing 50-54 4.6.1 lexical error processing 50-52 4.6.2 syntax error handling 52-54 Chapter EBASIC visual virtual machine to achieve 54-64 5.1 virtual machine stack 54-56 5.2 visual virtual machine structure design 56-57 5.2.1 visual virtual machine framework divided 56-57 5.2.2 visual virtual machine is divided 57 5.4 visualization module design 57-60 5.4.1 shows the design of the base class 58-59 5.4.2 stack and heap form 59-60 5.4.3 array form 60 5.5 messaging mechanism 60-62 5.6 visual interface design 62-64 5.6.1 Toolbar 62 5.6.2 GUI interface 62-64 Chapter visual test virtual machine 64-76 6.1 visual test virtual machine 64-65 6.2 virtual machine visual debugging 65-68 6.3.1 virtual machine error handling 65-66 6.3.2 breakpoint setting 66-68 6.4 program visualization tests performed 68-75 6.4.1 local variables, arrays, the for statement and other tests 68-70 the 6.4.2 process called test 70-72 6.4.3 conditional statements, arithmetic and logical operations test 72-74 6.4.4 looping statements test 74-75 6.5 This chapter Summary 75-76 concluded 76-77 the References 77-80 studying for a master's degree during the thesis 80-82 Acknowledgements 82

Related dissertations

  1. Research on the Invisible Market in China’s Land Resource Allocation
    LuoHuPing ·Hunan Agricultural University ·2013 ·Doctoral dissertation
  2. Morden Logistics Strategy Research of a Tobaco Industrial Company
  3. Study on Data Journalism in the Context of Big Data
    BiLiangYu ·Central China Normal University ·2014 ·Master's thesis
  4. Research on Performance Monitoring Technique of Cluster Management of the Virtual System
    WangXiaoJuan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  5. Based on the Evaluation of Energy Use Room Temperature Field Reconstruction Technology Research
    SunChengWei ·Shenyang Ligong University ·2013 ·Master's thesis
  6. Study on Visualization System for Tank Floor Inspection Based on Magnetic Flux Leakage
    WenHaiYan ·Hubei University of Technology ·2013 ·Master's thesis
  7. Research on Parameters Tuning of PID Controller and its Application on Inverter Control
    AnFang ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  8. Research on Optimal Sensor Placement in Dynamic Test and Its Implementation
  9. Dynamic Chinese Characters Construct Virtual Space in Web Page Based on Word Thinking
    LiuWenHui ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. The Design and Implementation of Microblog Data Analysis and Visualization Display System in Shandong Province
    LiuZuo ·Shandong University ·2013 ·Master's thesis
  11. Research on Attacks and Prevention Technology Based on ARP and PPPoE
    ZhangWen ·Sichuan Normal University ·2013 ·Master's thesis
  12. Research and Implementation of Intrusion Detection System
  13. Cacti Open Source Software-based Design and Implementation of Campus Network Visualized Monitoring Platform
  14. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  15. Research on Reranking Technology for Chinese Syntactic Parsing
    ChengYong ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research on the Construction Method of Knowledge Map Based on Ontology
    SongYouCong ·Hunan University ·2013 ·Master's thesis
  17. Clustering Algorithm and Its Application in the Search Engine System
  18. Research on Interior Design Method Based on3D Technology and Its Application
    LuGuoHui ·Xiamen University ·2013 ·Master's thesis
  19. Research on High-order Visualization Method for Isogeometric Analysis
  20. The Research on3D Medical Image Volume Rendering and the Implementation of Imaging System
    LiChang ·Shenyang University of construction ·2012 ·Master's thesis