Debugging support for aspect-oriented program based on program slicing and call graph

被引:4
|
作者
Ishio, T [1 ]
Kusumoto, S [1 ]
Inoue, K [1 ]
机构
[1] Osaka Univ, Grad Sch Informat Sci & Technol, Toyonaka, Osaka 5608531, Japan
关键词
D O I
10.1109/ICSM.2004.1357802
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Aspect-Oriented Programming (AOP) introduces a new software module unit named aspect to encapsulate crosscutting concerns. While AOP modularizes crosscutting concerns to improve maintainability and reusability, AOP introduces a new factor of complexity. It is difficult to find defects caused by an aspect modifying or preventing the behavior of other objects and aspects. In this paper, we examine a method to support a debugging task in aspect-oriented software development. We propose an application of a call graph generation and program slicing to assist in debugging. A call graph visualizes control dependence relations between objects and aspects and supports the detection of an infinite loop. On the other hand, program slicing shows the user changes of dependence relations caused by aspects. We implement a program-slicing tool for AspectJ and apply it to certain programs. The experiment illustrates how our approach effectively helps developers understand the influence of aspects in a program.
引用
收藏
页码:178 / 187
页数:10
相关论文
共 50 条
  • [1] Conditioned Slicing of Aspect-Oriented Program
    Ray, Abhishek
    Niraj, Chandrakant Kumar
    [J]. COMPUTATIONAL INTELLIGENCE IN DATA MINING, CIDM 2016, 2017, 556 : 513 - 522
  • [2] A Unique Aspect-Oriented Program Slicing Technique
    Singh, Jagannath
    Mohapatra, Durga Prasad
    [J]. 2013 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2013, : 159 - 164
  • [3] Program slicing tool for effective software evolution using aspect-oriented technique
    Ishio, T
    Kusumoto, S
    Inoue, K
    [J]. SIXTH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION, PROCEEDINGS, 2003, : 3 - 12
  • [4] Extending Omniscient Debugging to Support Aspect-Oriented Programming
    Pothier, Guillaume
    Tanter, Eric
    [J]. APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 266 - 270
  • [5] Research on Parallelization of Aspect-Oriented Program
    He Tengfei
    Mao Xiaoguang
    [J]. EIGHTH IEEE INTERNATIONAL CONFERENCE ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, PROCEEDINGS, 2009, : 478 - 482
  • [6] Slicing aspect-oriented software
    Zhao, JJ
    [J]. 10TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2002, : 251 - 260
  • [7] Aspect-oriented program testing: An annotated bibliography
    [J]. 1600, Academy Publisher (08):
  • [8] A comparison of program generation with aspect-oriented programming
    Mezini, M
    Ostermann, K
    [J]. UNCONVENTIONAL PROGRAMMING PARADIGMS, 2005, 3566 : 342 - 354
  • [9] Program transformation with reflection and aspect-oriented programming
    Chiba, Shigeru
    [J]. GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING, 2006, 4143 : 65 - 94
  • [10] Bugdel: An aspect-oriented debugging system
    Usui, Y
    Chiba, S
    [J]. 12TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2005, : 790 - 795