Recent

Author Topic: (Solved) IDE messed up  (Read 1048 times)

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
(Solved) IDE messed up
« on: January 21, 2023, 04:08:43 pm »
Hi!
By some reason my IDE is messed up.
How to reset?
« Last Edit: February 10, 2023, 10:15:01 pm by arneolav »
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: IDE messed up
« Reply #1 on: January 21, 2023, 04:13:57 pm »
What mean messed up ? Unuseable or only the windows lost ? Is clean recompile not working ?

Hardcore:
Move and Backup the config directory to another place. And then start Lazarus und recompile clean.
regards
Andreas

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: IDE messed up
« Reply #2 on: January 21, 2023, 04:16:02 pm »
Whatever "messed up" means...

Depending on OS.

1) If you did rebuild (to add packages), then there is
- On Windows) a lazarus.old.exe in the install dir. (back it up now, or next time it may be bad too)
- On Linux) start lazarus as "lazarus" and not "startlazarus"


2) Config
- Win) C:\Users\USERNAME\AppData\Local\lazarus
- Linux) ~/.lazarus

Backup, then remove individual XML files, until you found the guilty one

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: IDE messed up
« Reply #3 on: January 21, 2023, 04:42:18 pm »
Thanks,
New project and recompile clean did the trick.
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

Nicole

  • Hero Member
  • *****
  • Posts: 970
Re: IDE messed up
« Reply #4 on: January 21, 2023, 09:41:45 pm »
for next time, you may do this:
Click the icon "desktop" and "save as...".
Keeps a working desktop.

My windows tend to wander while working. The IDE shifts them.

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: IDE messed up
« Reply #5 on: January 21, 2023, 11:04:57 pm »
To say under Tools->Desktop not "to autosave" can be a gamechanger (but remind, if you change anything you must manual save the desktop - the other side of the medal)
regards
Andreas

Boleeman

  • Sr. Member
  • ****
  • Posts: 403
Re: IDE messed up
« Reply #6 on: January 23, 2023, 06:45:39 am »
Had something similar happen to me.

Initially installed the Lazarus 64Bit and 32 bit addon and got weird corrupted loading of project files. Got some error message about the config file not being correct.


Ended up deleting that and installing the 32 bit version of Lazarus. Now every so often the form does not load after clicking a project file to open. Need to go to file and open file with pas extension. I have BGRABmp installed and thought maybe the cause might be that, due to float point code having an error in one of the builds. I installed using the Open Packet Manager (OPM).

arneolav

  • Full Member
  • ***
  • Posts: 195
    • ElTranslador
Re: IDE messed up
« Reply #7 on: February 10, 2023, 10:14:29 pm »
After some time  I did a complete new install.
« Last Edit: February 10, 2023, 10:16:15 pm by arneolav »
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

 

TinyPortal © 2005-2018