-
-
- Using the Prolog IDE
-
-
-
Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Please use our mailing list. (You need to subscribe first.)
It never hurts to include the following:
(E.g. can you use the graphical help system or debugger?)
//An internal error occurred during: "Active PrologInterface changed: notify listeners".// //error(existence_error(procedure,breakpoint_property/2),context(system: <meta-call> / 1,_G1008))/
This and similar messages indicate that your SWI-Prolog version is too old and does not support the breakpoint_property/2 predicate. Please try updating your SWI-Prolog installation.
Note that on Linux systems the preinstalled version / package is often not the current one. Go to the SWI-Prolog download page and follow the instructions for Linux. If you need additional help with installing SWI-Prolog on Linux register in the SWI-Prolog mailing list and ask for help there. Often it will suffice to scan the list archives since this is an issue that has been addressed many times for all flavours of Linux.
The Outline will only be shown for files that are consulted in the active Prolog process. To consult a file from the editor press F9 or click the “(Re)consult” menu item.
The Prolog Console is an Eclipse view. It can be opened via Window → Show View → Other… The recommended way is to open the entire Prolog Perspective1) via Window → Open Perspective → Other…. The Prolog Perspective also includes the “Context View”.
You do not need to enter the '?-' used in some Prolog systems to start a query. Simply type your query in the Prolog Console. Terminate it with a dot ('.') and <return>. The first result (or false) will be displayed.
Simply type ' ' or ';' in the Prolog Console. The next result will be displayed. You can repeat this until there are no more results for your query.
You can use the <up> and <down> keys to scroll up and down through the command history. See the PDT keyboard shortcuts.