• DocumentCode
    351622
  • Title

    Coca: an automated debugger for C

  • Author

    Ducassé, Mireille

  • Author_Institution
    IRISA, Inst. Nat. des Sci. Appliques, Rennes, France
  • fYear
    1999
  • fDate
    22-22 May 1999
  • Firstpage
    504
  • Lastpage
    513
  • Abstract
    Presents Coca, an automated debugger for C, where the breakpoint mechanism is based on events related to language constructs. Events have semantics, whereas the 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, the 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.
  • Keywords
    C language; program debugging; program diagnostics; query processing; reverse engineering; C language; Coca; automated debugger; breakpoint mechanism; control flow; data flow; database querying mechanisms; debugging language; event attribute value specification; event semantics; execution traces; language constructs; ordered relation; program behaviour understanding; relational debuggers; source-line debuggers; trace query mechanism; visible variables; Costs; Data structures; Database languages; Debugging; Parallel languages; Permission; Relational databases; Uninterruptible power systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 1999. Proceedings of the 1999 International Conference on
  • Conference_Location
    Los Angeles, CA, USA
  • ISSN
    0270-5257
  • Print_ISBN
    1-58113-074-0
  • Type

    conf

  • Filename
    841040