My Delphi 11.1 installation often freezes when I press F9 to compile and run. I then have to kill one of the three LSP processes in task manager to make it work again. The process that has to be killed is always the one using the least memory.
As I did not find any hints in the web and Embarcadero support also could not help with this issue I post the astonishing solution I finally found.
Update: I added a screenshot of the layout that produces the error:
Its in German, so: (1) is project view, (2) is Structure, (3) is Palette, (4) is Messages, (5) is Events and (6) the object inspector.
With this layout in 4 of 5 cases compiling while the object inspector is visible freezes the ide.
CodePudding user response:
The reason in my case and also the reason why obviously nobody else experienced that is that I created a layout where I packed all tool windows into one tabbed page on the left to make Delphi better usable on a small screen like my surface tablet.
Switching back to standard layout solved the problem. It seems to be related to putting the object inspector into tabs with other views like structure, palette and project as it only happened when the object inspector was the selected tab.
UPDATE: After some research I can confirm that the effect is caused by the object inspector being grouped with other tool windows. The problematic layout works fine if the object inspector is seperate like in this screenshot.
Perhaps this helps someone else being driven crazy by this strange effect.
I reported it towards Embarcadero: RSP-40088