Using OCL-Queries for debugging C++

This demonstration will present a design and preliminary implementation of the OCL query-based debugger, OQBD, which is a tool to debug C++ programs using queries formulated in the object constraint language, OCL. We will illustrate how queries can be formulated to verify constraints such as class invariants and pre and post-conditions for member functions. The queries can be reused after code generation to verify the design contract, as part of the testing process, and to facilitate fault detection.

[1]  Ambuj K. Singh,et al.  Dynamic Query-Based Debugging , 1999, ECOOP.

[2]  Ambuj K. Singh,et al.  Query-based debugging of object-oriented programs , 1997, OOPSLA '97.

[3]  Shigeru Chiba,et al.  A metaobject protocol for C++ , 1995, OOPSLA.

[4]  Jos Warmer,et al.  The object constraint language , 1998 .

[5]  C. V. Ramamoorthy,et al.  Proceedings of the 22nd international conference on Software engineering , 1976 .

[6]  Mireille Ducassé,et al.  Coca: an automated debugger for C , 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002).

[7]  Anneke Kleppe,et al.  The object constraint language: precise modeling with UML , 1998 .