Search code examples
delphidelphi-10.2-tokyo

Delphi 10.2.3 hangs when starting (with debugging) a 32 bit application


Update: as noted by some, this is a problem brought about by NOD32. An issue item for this in their system is:

https://forum.eset.com/topic/16237-probleme-debug-delphi-with-eset-11249/


Delphi 10.2.1 and 10.2.3 hang when starting (with debugging) any 32 bit application on Windows 10/64. This started after the computer was rebooted for the weekend like it is every weekend.

Debugging a 64 bit project compiles & runs ok. Debugging a 32 bit project compiles but hangs before/slightly after the project even starts running ("end task" on Delphi is the only option now). If I run without the debugger, the project runs ok. Delphi "stops responding".

I've seen this single form "do nothing" test application I have used to investigate this freeze after loading Kernel32 or Comdlg32.

Hearing how similar this is to the problems with Delphi 10.2 and Windows 10's Creator update, I migrated to Delphi 10.2.3. Same problem as before.

I restored to a backup of the Windows partition. After I did that, it worked until I rebooted and then it broke again.

I went to an earlier backup of the Windows partition & got the same result.

This is so strange...any ideas?


Solution

  • I Thought it might relate to Nod32 as I had the same issue happen after a nod 32 update.

    I have added the BDS.exe directory to be excluded from real time file system protection.

    Seems to be fine now.