Dynamic query-based debugging

被引:0
|
作者
Lencevicius, R [1 ]
Hölzle, U [1 ]
Singh, AK [1 ]
机构
[1] Univ Calif Santa Barbara, Dept Comp Sci, Santa Barbara, CA 93106 USA
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Program errors are hard to find because of the cause-effect gap between the time when an error occurs and the time when the error becomes apparent to the programmer. Although debugging techniques such as conditional and data breakpoints help to find error causes in simple cases, they fail to effectively bridge the cause-effect gap in many situations. Dynamic query-based debuggers offer programmers an effective tool that provides instant error alert by continuously checking inter-object relationships while the debugged program is running. To speed up dynamic query evaluation, our debugger (implemented in portable Java) uses a combination of program instrumentation, load-time code generation, query optimization, and incremental reevaluation. Experiments and a query cost model show that selection queries are efficient in most cases, while more costly join queries are practical when query evaluations are infrequent or query domains are small.
引用
收藏
页码:135 / 160
页数:26
相关论文
共 50 条
  • [1] Snapshot query-based debugging
    Potanin, A
    Noble, J
    Biddle, R
    [J]. 2004 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2004, : 251 - 259
  • [2] Dynamic Query-Based Debugging of Object-Oriented Programs
    Raimondas Lencevicius
    Urs Hölzle
    Ambuj K. Singh
    [J]. Automated Software Engineering, 2003, 10 (1) : 39 - 74
  • [3] Analysis and Transformations for Efficient Query-based Debugging
    Gorbovitski, Michael
    Tekle, K. Tuncay
    Rothamel, Tom
    Stoller, Scott D.
    Liu, Yanhong A.
    [J]. EIGHTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2008, : 174 - 183
  • [4] Interactive Query-Based Debugging of ASP Programs
    Shchekotykhin, Kostyantyn
    [J]. PROCEEDINGS OF THE TWENTY-NINTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2015, : 1597 - 1603
  • [5] Query-based debugging of object-oriented programs
    Lencevicius, R
    Holzle, U
    Singh, AK
    [J]. ACM SIGPLAN NOTICES, 1997, 32 (10) : 304 - 317
  • [7] Query-Based Learning for Dynamic Particle Swarm Optimization
    Chang, Ray-I
    Hsu, Hung-Min
    Lin, Shu-Yu
    Chang, Chu-Chun
    Ho, Jan-Ming
    [J]. IEEE ACCESS, 2017, 5 : 7648 - 7658
  • [8] A query-based quantum eigensolver
    Jin, Shan
    Wu, Shaojun
    Zhou, Guanyu
    Li, Ying
    Li, Lvzhou
    Li, Bo
    Wang, Xiaoting
    [J]. Quantum Engineering, 2020, 2 (03)
  • [9] Query-Based Data Pricing
    Koutris, Paraschos
    Upadhyaya, Prasang
    Balazinska, Magdalena
    Howe, Bill
    Suciu, Dan
    [J]. JOURNAL OF THE ACM, 2015, 62 (05)
  • [10] Query-based learning of XPath expressions
    Carme, Julien
    Ceresna, Michal
    Goebel, Max
    [J]. GRAMMATICAL INFERENCE: ALGORITHMS AND APPLICATIONS, PROCEEDINGS, 2006, 4201 : 342 - 343