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).
Last modified: 2017/08/29 14:49