首页> 外文会议> >Debugging support for aspect-oriented program based on program slicing and call graph
【24h】

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

机译:基于程序切片和调用图的面向方面程序的调试支持

获取原文

摘要

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. 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.
机译:面向方面的编程(AOP)引入了一个名为Aspect的新软件模块单元,用于封装横切关注点。虽然AOP将横切关注点模块化以提高可维护性和可重用性,但AOP引入了新的复杂性因素。很难找到由于方面修改或阻止其他对象和方面的行为而导致的缺陷。我们研究了一种在面向方面的软件开发中支持调试任务的方法。我们提出了调用图生成和程序切片的应用程序,以帮助调试。调用图可视化对象和方面之间的控件依赖关系,并支持无限循环的检测。另一方面,程序切片显示用户由方面引起的依赖关系的变化。我们为AspectJ实现了程序切片工具,并将其应用于某些程序。实验说明了我们的方法如何有效地帮助开发人员理解程序中各个方面的影响。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号