问题
I finally upgraded to Delphi XE. The second time when I compile a project in Delphi XE, as soon as I hit the BUILD button the IDE freezes. Nothing can stop its agony except 'End Task'. What should I do? This is a fresh installation from the original CD. No single 3rd party plugin/VCL has been installed.
Edit 1: The last change I did was to remove some of the pre-installed packages such as DBs and Rave.
Edit 2: I realized the if freezes also when I use 'compile'. The last message it shows in 'Messages' is 'Checking project dependencies...'
Edit 3: It seems to be 'Background compilation'
Has anyone experienced this problem?
Update:
I just realized that this feature is useless anyway since the compile time for my program is about 2.2 seconds in normal mode and 6 seconds in background mode (high priority).
回答1:
This was fixed in an update. You need to apply the current updates to XE.
回答2:
Of course it is a 'magic' bug in Delphi.
SOLUTION
To fix the bug see:
Delphi XE Hotfix for QC 90864
UPDATE
I 'installed' the update yesterday but only today I turned back on the 'background compilation'. Guess what... it does not solve the bug!!!
来源:https://stackoverflow.com/questions/6045520/brand-new-installed-delphi-xe-freezes-without-reason-it-is-qc-90864-delphi-bug