Coca: A Debugger for C Based on Fine Grained Control Flow and Data Events - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 1998

Coca: A Debugger for C Based on Fine Grained Control Flow and Data Events

Mireille Ducassé

Résumé

We present Coca, an automated debugger for C, where the breakpoint mechanism is based on events related to language constructs. Events have semantics whereas source lines used by most debuggers do not have any. A trace is a sequence of events. It can be seen as an ordered relation in a database. Users can specify precisely which events they want to see by specifying values for event attributes. At each event, visible variables can be queried. The trace query language is Prolog with a handful of primitives. The trace query mechanism searches through the execution traces using both control flow and data whereas debuggers usually search according to either control flow or data. As opposed to fully «relational» debuggers which use plain database querying mechanisms, Coca trace querying mechanism does not require any storage. The analysis is done on the fly, synchronously with the traced execution. Coca is therefore more powerful than «source line» debuggers and more efficient than relational debuggers.
Fichier principal
Vignette du fichier
RR-3489.pdf (268.62 Ko) Télécharger le fichier

Dates et versions

inria-00073198 , version 1 (24-05-2006)

Identifiants

  • HAL Id : inria-00073198 , version 1

Citer

Mireille Ducassé. Coca: A Debugger for C Based on Fine Grained Control Flow and Data Events. [Research Report] RR-3489, INRIA. 1998. ⟨inria-00073198⟩
202 Consultations
205 Téléchargements

Partager

Gmail Facebook X LinkedIn More