[Fixed] PB5.11(x86) Compiler Halts on innocent line

Working on new editor enhancements?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

[Fixed] PB5.11(x86) Compiler Halts on innocent line

Post by IdeasVacuum »

Never seen anything like this before......I think

Fixed a couple of bugs, compiles fine, runs fine. Added a relatively small enhancement, basically two Procedures and a small Data Section for an icon image (several already existing, pbi file).

Now when I hit Compile/Run, the compiler halts on line 1 of the 'main .pb file:
[23:01:08] [COMPILER] Line 1: Syntax error.

This is Line 1:

Code: Select all

; 01/04/2013 21:48:22
At line Lines 2 to 185, some how a DataSection is magically inserted - it does not match anything in my actual data section (in the seprate pbi file). If I click undo, the insertion of that DataSection is undone. If I comment-out the bits I have added, the fault still occurs (even tried a reboot of the system).

Has anyone seen anything like this happen before - I have a certain déjà vu feeling but I can't remember anything specific.

I'm using a PB tool, Image to PB Data, to make make the Data Sections - you simply drag and drop images into the IDE. It might be the culprit, but I don't see how.
Last edited by IdeasVacuum on Tue Apr 02, 2013 12:35 am, edited 2 times in total.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB5.11(x86) Compiler Halts on innocent line

Post by skywalk »

Sometimes I get weird errors if a Tool hangs or when I have too many compile errors in a row.
I close the IDE and restart and the problem is gone.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB5.11(x86) Compiler Halts on innocent line

Post by IdeasVacuum »

Sometimes I get weird errors if a Tool hangs or when I have too many compile errors in a row.
I close the IDE and restart and the problem is gone.
Hi SkyWalker - I have not had either of the those issues. I'm going to re-install PB, see if that does something.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB5.11(x86) Compiler Halts on innocent line

Post by skywalk »

haha, I have a problem right now...
IDE wrote:Cannot edit sourcecode. It is being debugged.
Have to figure out why my scintilla Tool keeps hanging?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB5.11(x86) Compiler Halts on innocent line

Post by IdeasVacuum »

So, re-installed, no Tool, same issue!

However, a quick coffee turned déjà vu into a flash back - the pbi file had been saved as UTF8 and PB wants ASCII. Fixed that, problem disappeared!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [Fixed] PB5.11(x86) Compiler Halts on innocent line

Post by skywalk »

And mine is fixed now too!
I had to send a SCI_SETREADONLY(0) message after the Tool moves the cursor in the IDE.
The action of the Tool must be setting a Read Only condition?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: [Fixed] PB5.11(x86) Compiler Halts on innocent line

Post by IdeasVacuum »

Hmm, it turned April 2nd over here, I think that helped :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [Fixed] PB5.11(x86) Compiler Halts on innocent line

Post by skywalk »

I definitely wear that hat more than 1 day out of the year :oops:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply