SDA SE Wiki

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

User Tools

Site Tools


Other PDT Features

PDT Entry Points

The PDT offers the possibility to mark prolog files as “entry points”. These are typically loadfiles, which consult all important Prolog files of the project.

To mark a file as entry point right click on it and select “Prolog Developement Tools” → “Mark as Entry Point”. If you use the automated load file generation, the generated file will be an entry point by default (you can change this in the generation wizard).

If a file is marked as entry point you have the following advantages:

  • File will be highlighted with an icon (which will be saved persistently in the workspace, not depending on the current Prolog process and still available after a restart of eclipse).
  • If the file is consulted in your current process, the fact “pdt_entry_point(Filename)” will be added. This might be useful for dead code analysis (e.g. files which aren't loaded from an entry point are dead code).

Handling of QLFs

For more information on QLFs, see the SWI-Prolog manual

Since QLFs are binary files you can't see any source code if you open them from your workspace. There is a GUI with two actions:

  • Consult QLF: consults the file to the current process
  • Edit Source File: if the source file to this QLF is available this will open the Prolog Editor with the corresponding source file.
research/pdt/docs/other_features.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019