IDE freezes with background compile
Posted: Wed Oct 14, 2020 8:59 am
Hello,
When I enable madExcept for my C++ VCL Forms project and run a background compile, the IDE freezes when the Messages window is not already open in the IDE. The only way to close the IDE is by killing it the Windows task manager.
I have a special setup for my project which causes madExcept to produce some warnings (e.g. [madExcept Warning] Please add "madListModules" to the project file) in the Messages Build window when starting the background compile. I suspect this may be causing the IDE to freeze when the Messages window is not already open.
It only seems to happen if the Messages window (menu View - Tool Windows - Messages) has not been opened at all since the starting of the IDE. If the Message window was open and is closed before the start of the background compile, the problem does not appear.
So to reproduce, in the default saved desktop for the IDE make sure the Messages window is closed and restart the IDE before doing the background compile.
The problem does not appear with a normal compile (e.g. the compile that is triggered when trying to run an changed project).
I'm currently using the latest madExcept (madCollection 2.8.9.1) in C++ Builder Sydney R1 patch 1, but also encountered it in older versions of madExcept and RadStudio (e.g. Tokyo).
FYI, before I found out enabling madExcept was the trigger for the freeze, I reported this with Embarcadero: https://quality.embarcadero.com/browse/RSP-31303.
If you need any more info, please let me know.
When I enable madExcept for my C++ VCL Forms project and run a background compile, the IDE freezes when the Messages window is not already open in the IDE. The only way to close the IDE is by killing it the Windows task manager.
I have a special setup for my project which causes madExcept to produce some warnings (e.g. [madExcept Warning] Please add "madListModules" to the project file) in the Messages Build window when starting the background compile. I suspect this may be causing the IDE to freeze when the Messages window is not already open.
It only seems to happen if the Messages window (menu View - Tool Windows - Messages) has not been opened at all since the starting of the IDE. If the Message window was open and is closed before the start of the background compile, the problem does not appear.
So to reproduce, in the default saved desktop for the IDE make sure the Messages window is closed and restart the IDE before doing the background compile.
The problem does not appear with a normal compile (e.g. the compile that is triggered when trying to run an changed project).
I'm currently using the latest madExcept (madCollection 2.8.9.1) in C++ Builder Sydney R1 patch 1, but also encountered it in older versions of madExcept and RadStudio (e.g. Tokyo).
FYI, before I found out enabling madExcept was the trigger for the freeze, I reported this with Embarcadero: https://quality.embarcadero.com/browse/RSP-31303.
If you need any more info, please let me know.