Discussions related to Visual Prolog
User avatar
CalmoSoft
VIP Member
Posts: 73
Joined: 17 Oct 2006 5:49

Next version of Visual Prolog

Unread post by CalmoSoft »

Hello Thomas,

When vill be the next version of Visual Prolog?
Thank you very much.

Greetings,
Gal Zsolt
(~ CalmoSoft ~)
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

As soon as it is ready ;-).

I would have liked to say "now", but we unfortunately our latest invention in the debugging area gives a stability problem in the debugger.

The idea is to run so-called presenters in the debugged program. The presenter will describe how the values are going to be handled in the debugger
  • how they are going to be written and
  • how they are going to be expanded
So the presenters is invoked in a dedicated thread while the program is otherwise suspended in a breakpoint.

But it is rather difficult to run code in the program when the other threads have been suspended, because these threads may hold a lock that is also required by the presenter-thread. And since a suspended thread will not release any locks the presenter-thread may be blocked until the program is again resumed.

We are currently working on a "controlled thread resume strategy" which will be used to unblock the presenter-thread. We will release, when that is implemented (provided that it solves the problem).
Regards Thomas Linder Puls
PDC
Post Reply