New Features Roadmap

Discussions related to Visual Prolog
Martin Meyer
VIP Member
Posts: 279
Joined: 14 Nov 2002 0:01

New Features Roadmap

Unread post by Martin Meyer » 11 Nov 2015 16:21

Hello Thomas,

do you have a roadmap of new features, which you are currently implementing in the upcoming VIP version, or of which you are thinking about for future VIP versions?

It would be interesting to get an idea, in which direction the development of VIP might go in future (but pushing you is not the intension of the question).

Regards
Martin

User avatar
Thomas Linder Puls
VIP Member
Posts: 1158
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 12 Nov 2015 0:06

Well, a major new feature is user defined presentation of terms in the debugger. As an example of this the attached image shows this map:

Code: Select all

        M = mapM_redBlack::new(),         M:insertList([tuple(5, "a"), tuple(2, "b"), tuple(19, "c"), tuple(25, "a"), tuple(135, "b")]),
We do not give release estimates, so don't ask. As always there will be a free update if you have purchased a version that becomes the "previous version" soon after.
Attachments
map-present.png
Debugger presentation of maps
map-present.png (4.26 KiB) Viewed 4383 times
Regards Thomas Linder Puls
PDC

Martin Meyer
VIP Member
Posts: 279
Joined: 14 Nov 2002 0:01

Unread post by Martin Meyer » 12 Nov 2015 0:42

Yes, such clear presentation of terms, especially collections, will enhance debugging a lot.

Thanks for the preview,
Martin

Peter Muraya
VIP Member
Posts: 147
Joined: 5 Dec 2012 7:29

Unread post by Peter Muraya » 12 Nov 2015 4:56

Thomas & Martin,
Yes, I would welcome this debugging feature of being able to inspect the contents of a collection; it is the lack of this facility that makes me use lists or database facts where other types of collections would have been more appropriate.
Here is another one that I would welcome:being able to inspect a calculated property. E.g.

Code: Select all

interface test      properties            view:string(o). end interface
In the current implementation such a property as the one above is excluded from the view by the debugger.
Mutall Data Management Technical Support

User avatar
Thomas Linder Puls
VIP Member
Posts: 1158
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 12 Nov 2015 9:44

That will not happen.

A property is a predicate (or two) which the debugger cannot just choose to execute whenever it like. Such a property-predicate can do a lot of things that should not be executed by the debugger.

Just consider this simple (COM-inspired) code that performs a reference count each time a property is accessed:

Code: Select all

properties     x : iSomething (o).   clauses     x() = native :-         native:addRef().
Each time the debugger would show the value, the interface would be addRef'ed and subsequently it would never be released.

However, if a property corresponds to a fact then you can already inspect the fact.
Regards Thomas Linder Puls
PDC

Post Reply