Page 1 of 1

PB5.31 IDE crash on Macro Error

Posted: Wed Jul 22, 2015 4:31 pm
by IdeasVacuum
Win 7 x86
If your Macro has a fault, the Macro Error Window is displayed, but you cannot close it (or ignore it).

Re: PB5.31 IDE crash on Macro Error

Posted: Thu Jul 23, 2015 12:00 pm
by Dude
I can close this macro error without any problem here on Win 7 5.31 x86 IDE:

Code: Select all

Macro test
  1/0
EndMacro

test
What does your macro look like, so I can test it?

Re: PB5.31 IDE crash on Macro Error

Posted: Thu Jul 23, 2015 9:27 pm
by IdeasVacuum
I can't remember exactly what the faulty code line was :oops: I think I had a 'Protected' line in there.

Generally, if you change a simple procedure into a macro, you might leave something included that is either not allowed or simply garbage - ProcedureReturn is a good example.

Re: PB5.31 IDE crash on Macro Error

Posted: Thu Jul 23, 2015 10:27 pm
by davido
@IdeasVacuum ,

Might the offending code, perchance, reside in history?

Re: PB5.31 IDE crash on Macro Error

Posted: Fri Jul 24, 2015 1:44 pm
by IdeasVacuum
...just checked Davido. The history session does actually show "Wednesday 11: 14 :45 ended unexpectedly" but there is no code to recover.

I doubt it's a one-off, I think if you do something really foolish you can break anything :D

....should we expect the IDE to be fool-proof? No.