syntaxError_exception (pfc\pie\pie)

Discussions related to Visual Prolog
loveProlog
Posts: 8
Joined: 9 Jul 2014 12:53

syntaxError_exception (pfc\pie\pie)

Unread post by loveProlog » 7 Oct 2015 17:04

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

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

Unread post by Thomas Linder Puls » 7 Oct 2015 18:29

Can you explain how we can reproduce this exception?
Regards Thomas Linder Puls
PDC

loveProlog
Posts: 8
Joined: 9 Jul 2014 12:53

Unread post by loveProlog » 7 Oct 2015 19:11

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.

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

Unread post by Thomas Linder Puls » 8 Oct 2015 19:52

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).
Regards Thomas Linder Puls
PDC

Post Reply