Debugging Statecharts Via Model-Code Traceability

被引:0
|
作者
Guo, Liang [1 ]
Roychoudhury, Abhik [1 ]
机构
[1] Natl Univ Singapore, Sch Comp, Singapore, Singapore
关键词
Statecharts; Traceability; Debugging; Slicing;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Model-driven software development involves constructing behavioralmodels from informal English requirements. These models are then used to guide software construction. The compilation of behavioral models into software is the topic of many existing research works. There also exist a number of UML-based modeling tools which support such model compilation. In this paper, we show how Statechart models call be validated/debugged by (a) generating code from the Statechart models, (b) employing established software debugging methods like program slicing on the generated code, and (c) relating the program slice back to the Statechart level. Our study is presented concretely in terms of dynamic slicing of Java code produced front Statechart models. The slice produced at the code level is mapped back to the model level for enhanced design comprehension. We use the open-source JSlice tool for dynamic slicing of Java programs ill our experiments. We present results on a wide variety of real-life control systems which are modeled as Statecharts (from the informal English requirements) and debugged using our methodology. We feel that our debugging methodology fits in well with design flows in model-driven software development.
引用
收藏
页码:292 / 306
页数:15
相关论文
共 50 条
  • [21] DEBUGGING OPTIMIZED CODE WITH DYNAMIC DEOPTIMIZATION
    HOLZLE, U
    CHAMBERS, C
    UNGAR, D
    [J]. SIGPLAN NOTICES, 1992, 27 (07): : 32 - 43
  • [22] Facilitating Unreachable Code Diagnosis and Debugging
    Chou, Hong-Zu
    Chang, Kai-Hui
    Kuo, Sy-Yen
    [J]. 2011 16TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2011,
  • [23] A NEW APPROACH TO DEBUGGING OPTIMIZED CODE
    BROOKS, G
    HANSEN, GJ
    SIMMONS, S
    [J]. SIGPLAN NOTICES, 1992, 27 (07): : 1 - 11
  • [24] Transparent Debugging of Dynamically Optimized Code
    Kumar, Naveen
    Childers, Bruce R.
    Soffa, Mary Lou
    [J]. CGO 2009: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, PROCEEDINGS, 2009, : 275 - +
  • [25] SYMBOLIC DEBUGGING OF OPTIMIZED CODE - NOTE
    WALL, D
    SRIVASTAVA, A
    TEMPLIN, F
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1985, 7 (01): : 176 - 181
  • [26] Debugging VHDL code: The HDTV example
    Glaser, AB
    [J]. IEEE SPECTRUM, 1996, 33 (06) : 66 - 66
  • [27] From video games to debugging code
    Deitz, Sean
    Buy, Ugo
    [J]. 2016 IEEE/ACM 5TH INTERNATIONAL WORKSHOP ON GAMES AND SOFTWARE ENGINEERING (GAS), 2016, : 37 - 41
  • [28] Code Generation from Statecharts: Simulation of Wireless Sensor Networks
    Mura, Marcello
    Sami, Maria Giovanna
    [J]. 11TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN - ARCHITECTURES, METHODS AND TOOLS : DSD 2008, PROCEEDINGS, 2008, : 525 - +
  • [29] Model checking for timed statecharts
    Qian, JY
    Xu, BW
    [J]. FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2005, 2005, 3731 : 261 - 274
  • [30] Supporting Requirements to Code Traceability Creation by Code Comments
    Shen, Guohua
    Wang, Haijuan
    Huang, Zhiqiu
    Yu, YaoShen
    Chen, Kai
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (08) : 1099 - 1118