摘要
JavaScript编程变得越来越重要,一个独立运行的轻量的JavaScript调试器工具成为许多Web应用开发人员迫切需要的一种工具.采用基于C++的V8引擎作为调试器的脚本解释器,构建出包含编辑模块、结果显示模块、JavaScript模块三个模块的JavaScript调试器.其中JavaScript模块又包含JavaScript引擎、代码检查器、参数配置器、代码压缩器、代码辅助五个子模块.使用委派的信息交互方式来实现模块间的信息传递,使提出的调试器具有简便易用、突出重点、容错高的软件界面.
JavaScript programming is becoming increasingly important. An independent-running lightweight JavaScript debugger has become an important tool for Web application developers. The JavaScript debugger three modules,namely the editing module,the result displaying module and the JavaScript module is constructed by the script interpreter which adopts v8 engine based on C# language as debugger. Among them,the JavaScript module includes five submodules such as JavaScript engine,code checker,parameters configuration,code compressors and code assistance. Using the delegation information-interacted means to achieve information transmission between modules,the established debuger owns a software interface with qualities as using simply and easily,highlighting the keys and high fault tolerance.
出处
《湖南师范大学自然科学学报》
CAS
北大核心
2014年第6期88-92,共5页
Journal of Natural Science of Hunan Normal University
基金
贵州省教育厅自然科学基金资助项目(黔教科2007097)