PB5.31 IDE crash on Macro Error

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

PB5.31 IDE crash on Macro Error

Post 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).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PB5.31 IDE crash on Macro Error

Post 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?
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB5.31 IDE crash on Macro Error

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PB5.31 IDE crash on Macro Error

Post by davido »

@IdeasVacuum ,

Might the offending code, perchance, reside in history?
DE AA EB
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB5.31 IDE crash on Macro Error

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply