PCE error with prolog engine debug

I’m using: SWI-Prolog version 8.2.29

I am getting this error while trying to debug a $predicate - setup with tspy($predicate) within prolog engine:

[PCE error: prolog_debugger ->initialise: Argument 1 (int): int' expected, found _3724’]

Remove the prolog engine and run the $predictate directly within calling thread, and there is no problem.

Just see if anyone could smell something obvious from the error message without further details.

Thanks,

Nan