Ann: SWI-Prolog 10.1.5

Can happen. In recent times a lot of work has been done on portability and (C) standard compliance. That introduces portability issues as well :frowning: Before release, building is tested on Fedora (latest), Windows (cross compiling using MinGW in a Fedora Docker image), MacOS (latest, both using Apple Clang and GCC), Debian bookworm (for Docker base image, no GUI), Ubuntu (PPA builds) and WASM. On Fedora some variants are tested, notably building without GMP and for single threading only. That is still only a tiny set from the many platforms and variations you can build.

Notably SDL3 is not well settled and not yet widely available in stable distributions. The alternative was to develop for SDL2. That seemed a bad idea, even worse because SDL2 lacks some features that allows merging event dispatching and reading from stdin.

3 Likes

I am able to build with PGO enabled now. Thanks for all your help

Another problem, unfortunately - the debugger doesn’t seem to work any more.

Specifically, spy & gspy don’t work.

Works fine for me. What exactly are you doing?

I’m using spy / gspy at the top level before calling the main for my app. The spypoint is never taken, unlike 10.1.3 where it is. As far as I can tell the spypoint just isn’t being set in 10.1.5, but I’m not sure how to confirm that.

Ah, it seems there is an issue that spy/1 no longer enables debug mode :(. So, in addition you need to call

 ?- debug.

The prompt should be tagged with [debug]. I’ll have a look. I’m traveling, so no guarantees.

Ok, that was easy. Pushed a fix.

Yes, that’s done the trick :+1: Thank you very much :slight_smile: