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

User Tools

Site Tools


This shows you the differences between two versions of the page.

Link to this comparison view

research:pdt:docs:other_features [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== 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 [[console#​create_loadfiles|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 [[http://​​pldoc/​doc_for?​object=section%283,​%274.3.3%27,​swi%28%27/​doc/​Manual/​consulting.html%27%29%29|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