Page 1 of 1

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

Posted: Mon Apr 01, 2013 11:53 pm
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.

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

Posted: Mon Apr 01, 2013 11:59 pm
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.

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

Posted: Tue Apr 02, 2013 12:06 am
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.

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

Posted: Tue Apr 02, 2013 12:18 am
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?

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

Posted: Tue Apr 02, 2013 12:35 am
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!

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

Posted: Tue Apr 02, 2013 12:52 am
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?

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

Posted: Tue Apr 02, 2013 12:55 am
by IdeasVacuum
Hmm, it turned April 2nd over here, I think that helped :mrgreen:

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

Posted: Tue Apr 02, 2013 1:05 am
by skywalk
I definitely wear that hat more than 1 day out of the year :oops: