A framework for assertion-based debugging in constraint logic programming


Autoria(s): Puebla Sánchez, Alvaro Germán; Bueno Carrillo, Francisco; Hermenegildo, Manuel V.
Data(s)

1998

Resumo

We propose a general framework for assertion-based debugging of constraint logic programs. Assertions are linguistic constructions which allow expressing properties of programs. We define assertion schemas which allow writing (partial) specifications for constraint logic programs using quite general properties, including user-defined programs. The framework is aimed at detecting deviations of the program behavior (symptoms) with respect to the given assertions, either at compile-time or run-time. We provide techniques for using information from global analysis both to detect at compile-time assertions which do not hold in at least one of the possible executions (i.e., static symptoms) and assertions which hold for all possible executions (i.e., statically proved assertions). We also provide program transformations which introduce tests in the program for checking at run-time those assertions whose status cannot be determined at compile-time. Both the static and the dynamic checking are provably safe in the sense that all errors flagged are definite violations of the specifications. Finally, we report on an implemented instance of the assertion language and framework.

Formato

application/pdf

Identificador

http://oa.upm.es/14399/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/14399/1/HERME_ARC_1998-1.pdf

http://link.springer.com/chapter/10.1007%2F3-540-49481-2_43?LI=true

Direitos

http://creativecommons.org/licenses/by-nc-nd/3.0/es/

info:eu-repo/semantics/openAccess

Fonte

Principles and Practice of Constraint Programming — CP98 | 4th International Conference, CP98 | October 26-30, 1998 | Pisa, Italy

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/conferenceObject

Ponencia en Congreso o Jornada

PeerReviewed