Page 1 of 1

syntaxError_exception (pfc\pie\pie)

Posted: 7 Oct 2015 17:04
by loveProlog
I am getting the following exception on the line of code in 64-bit.
not(list::isMember("ABC", ["DEF", "GHI"])),

During the debugging, I saw the exact values in "Variables in the current clause" view.
The code did not raise any exception in 32-bit.
Any idea?

Exception: syntaxError_exception (pfc\pie\pie)

PIE syntax error


Predicate name = maketok
SourceCursor = pfc\pie\scanner\scanner.pro(173,9)
cursor = 67
Arguments = Illegal token: '0xDC207BE160'

raised 2015-10-07 12:44:03
ThreadId: 6080
Class name: pfc\pie\scanner
Predicate name: maketok

Posted: 7 Oct 2015 18:29
by Thomas Linder Puls
Can you explain how we can reproduce this exception?

Posted: 7 Oct 2015 19:11
by loveProlog
The exception happened at random places.

Open a project in vip 7.5
Set to 64-bit platform.
Press F5 (or Choose Debug from the menu).

The debugging was working in 7402. We just upgraded it to 7.5.

Posted: 8 Oct 2015 19:52
by Thomas Linder Puls
PIE is used in the debugger to handle certain actions in connectionwith for example breakpoint addresses. Unfortunately, PIE has (in Vip 7.5) not been updated to deal with unsigned64/integer64 values. The problems you see comes from numbers (i.e. addresses) that cannot be represented as 32 bit numbers. We have not seen such problems because most of the time addresses happens to stay within 32bit.

I am afraid that I cannot provide any workaround (except debugging in 32bit).