A Generic and Reflective Debugging Architecture to Support Runtime Visibility and Traceability of Aspects

被引:0
作者
De Borger, Wouter [1 ]
Lagaisse, Bert [1 ]
Joosen, Wouter [1 ]
机构
[1] KULeuven, Dept Comp Sci, Louvain, Belgium
来源
AOSD'09: 8TH INTERNATIONAL CONFERENCE ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT | 2009年
关键词
Debugging architecture; AOP; Visibility; Traceability;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we present a generic, mirror-based debugging architecture that supports runtime visibility and traceability of aspect oriented (AO) software systems. Runtime visibility supports inspection of an executing AO-system in terms of AO programming abstractions and code artifacts such as (dynamic) aspects, advices, pointcuts, aspect instances and advice applications. Runtirne traceability supports inspection of the stack to identify advices that Could have been executed, that are being executed, or that may be executed later. Additionally, traceability supports identification and inspection of the pointcut that causes a specific advice. We have created a mirror based architecture that offers introspection support including an aspect-aware breakpoint model for AOP-related runtime events. We introduce the concept of hook frames to trace joinpoints and their advices on the stack. We validate the genericity of our architecture in two instantiations - JBoss AOP and AspectJ/ABC - and evaluate both instantiations by applying concrete debugging scenarios.
引用
收藏
页码:173 / 184
页数:12
相关论文
共 16 条
[1]  
Avgustinov P., 2005, AOSD 05, P87, DOI DOI 10.1145/1052898.1052906
[2]   Mirrors: Design principles for meta-level facilities of object-oriented programming languages [J].
Bracha, G ;
Ungar, D .
ACM SIGPLAN NOTICES, 2004, 39 (10) :331-344
[3]  
Eaddy M, 2007, LECT NOTES COMPUT SC, V4829, P200
[4]  
*ECL FDN, ASP DEV TOOLS
[5]  
Grace P, 2008, LECT NOTES COMPUT SC, V4954, P215
[6]  
Kiczales G., 1991, The Art of the Metaobject Protocol
[7]  
MAES P, 1987, OCT P OBJ OR PROGR S, P147
[8]  
MEHNER K, 2002, OOPSLA WORKSH TOOLS
[9]  
NAVARRO LDB, 2008, MIDDLEWARE 08
[10]  
POTHIER G, 2008, SAC 08, P266