Recent

Author Topic: EditorMacroScript did not complete its test, during startup?  (Read 386 times)

jamie

  • Hero Member
  • *****
  • Posts: 7402
EditorMacroScript did not complete its test, during startup?
« on: November 14, 2025, 11:33:14 pm »
I am getting this on startup now lately. its a PAS file

But it only does it once when I first start the IDE in both 32 or 64 bit targets.

Laz, 4.2
The only true wisdom is knowing you know nothing

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11922
  • Debugger - SynEdit - and more
    • wiki
Re: EditorMacroScript did not complete its test, during startup?
« Reply #1 on: November 14, 2025, 11:39:24 pm »
This can be a false positive, if you started the IDE twice within a very short time.

When the IDE starts, it writes a "state file": I am testing.
On Success it removes it.
If the test crashes the IDE, the file remains, and is seen on the next start.

But if a 2nd IDE start within split seconds of the first, then it sees the file and goes => crashed => when actually the other IDE is still testing.



But, after that happened editor macros should have turned off, and should not test again.
They can be re-enabled in the: Tools > Options > Editor macros

Otherwise check in your "primary config path" (menu: view > ide internals > about ide).
There should be one or two files with a name relating to this.
They may contain some info.

jamie

  • Hero Member
  • *****
  • Posts: 7402
Re: EditorMacroScript did not complete its test, during startup?
« Reply #2 on: November 14, 2025, 11:45:16 pm »
I can tell you lately that lazarus has been coming up on the deck much faster than normal.

But this happens in the last 3 days, I am sure I am not starting multiple instances.

It happens in both installs, 32 and 64. and after that error, It will start, and I can shut the IDE down and restart with no issues.

  I will keep an eye on it. I am not having any issues with my editor macros that I can see.

Jamie
The only true wisdom is knowing you know nothing

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11922
  • Debugger - SynEdit - and more
    • wiki
Re: EditorMacroScript did not complete its test, during startup?
« Reply #3 on: November 14, 2025, 11:48:31 pm »
  I will keep an eye on it. I am not having any issues with my editor macros that I can see.

It would only affect them if they contain PascalScript.

If PascalScript turns off, they fall back to the default SynEdit macro player (which just has the ec.... commands / looks like pascal, but can't have anything but one begin, one end, and the ec....; )

jamie

  • Hero Member
  • *****
  • Posts: 7402
Re: EditorMacroScript did not complete its test, during startup?
« Reply #4 on: November 15, 2025, 02:55:41 am »
I went in there and there was a statement about a failed attempt, so I allowed it to retry.

 I will test tomorrow when I boot up to see if this reoccurs.

Thank.

The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7402
Re: EditorMacroScript did not complete its test, during startup?
« Reply #5 on: November 16, 2025, 12:11:50 pm »
That fixed it.
Thanks
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018