Virtual Objects for Program Visualization in xDIVA

碩士 === 國立中央大學 === 軟體工程研究所 === 105 === In general, there are many ways to solve a problem. It is the same in the world of programming. Programmers may want to write a program to solve a problem, but there are many kinds of implementation. Therefore, if we want to visualize a problem, there may be onl...

Full description

Bibliographic Details
Main Authors: Wei-Jhe Syu, 徐偉哲
Other Authors: Yung-Pin Cheng
Format: Others
Language:zh-TW
Published: 2017
Online Access:http://ndltd.ncl.edu.tw/handle/zq3w8s
Description
Summary:碩士 === 國立中央大學 === 軟體工程研究所 === 105 === In general, there are many ways to solve a problem. It is the same in the world of programming. Programmers may want to write a program to solve a problem, but there are many kinds of implementation. Therefore, if we want to visualize a problem, there may be only one visualization of a program, but the implementations and data structures can vary significantly. The 3D program visualization tool xDIVA in our lab is based on objects to produce visualizations. If the code is written in a way that is not object-oriented, xDIVA may not be able to render the visualization expected by the programmer. Because the graphics that the programmer wants to draw are expressed in other forms. Instead of the real objects. As a program visualization tool, xDIVA cannot limit programmers to write code in some fixed way to be visualized. So this study presents a solution called virtual objects. With this feature, programmers can produce objects from existing variables for xDIVA's type mapping to work on. These virtual objects can be used to bridge non-object-oriented programs so that expected visualization can be accomplished.