Combined static and dynamic assertion-based debugging of constraint logic programs


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

2000

Resumo

We propose a general framework for assertion-based debugging of constraint logic programs. Assertions are linguistic constructions for expressing properties of programs. We define several assertion schemas for 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 (i.e., statically) or run-time (i.e., dynamically). 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 pecifications. Finally, we report briefly on the currently implemented instances of the generic framework.

Formato

application/pdf

Identificador

http://oa.upm.es/14387/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/14387/1/HERME_ARC_2000-4.pdf

http://link.springer.com/chapter/10.1007%2F10720327_16?LI=true

Direitos

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

info:eu-repo/semantics/openAccess

Fonte

Logic-Based Program Synthesis and Transformation | 9th International Workshop, LOPSTR'99 | September 22-24, 1999 | Venice, Italy

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/conferenceObject

Ponencia en Congreso o Jornada

PeerReviewed