SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Prolog Development Tools

Slides: PDT
Experts: Fisnik Kastrati, Paul Heckmann
Contact: Daniel Morales, Günter Kniesel, Tobias Rho

Five points to remember

  1. to know what SWI-Prolog/XPCE is / comes up with
  2. to know how to consult files, use the help function and how to trace querys
  3. to know the profiler, referencer and guitracer
  4. to know how to interpret the syntax checker motifications of the PDT
  5. to know how to arrange runtimes sharing

Content of this talk

We work with the free, multi-platform SWI-Prolog system for which there are three main development environments:

In the Agile Lab we will use the PDT, which provides the most advanced user experience, is smoothly integrated with Eclipse and JTransformer and still gives you full access to the built-in XPCE-based tools (graphical debugger, profiler, crossreferencer, help, …).

The PDT: Session Outline

The talk about the PDT should present the following topics in a mix of general explanation (slide-based), practical demonstration by the presenter and practical, hands-on exercises for the participants (who should preferably bring their own laptops):

  • PDT-Navigator (Basic: Prolog nature, Markers | Advanced: Prolog processes, Naming and sharing processes)
  • Prolog Editor (Basic: Syntax highlighting, Singletons and other markers, searching (textual / prolog))
  • Prolog Outline (Basic: Predicates, clauses, directives. Sorting and filtering)
  • Prolog Console (Basic: Consulting. Queries, results and backtracking, basic editing. Advanced: Multiple processes, Switching processes (explicit or via “follow editor”), Restarting a prolog process.
  • XPCE Help Viewer (Starting it. Help, search, explain).
  • XPCE Visual Debugger (Starting it. Prolog box model. Stepping, variables, stack, textview. Setting spy points, unleashing. Emulating break points.)
  • XPCE Visual Profiler (Starting it. Interpretation of its display. How to use and when to use. How to optimize.)

The PDT: Background Information

teaching/labs/xp/2009a/topic_prolog_tools.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019