Trapping delphi app hang
Posted on 2009-07-06
I have a multithreaded Winform App written in Delphi 5, which randomly (under load) is hanging.
I want to narrow down my search for the last procedure called (whether on main form or one of the threads) before the hangs (whilst running thru IDE debugger) but have been unable to do so -- the app hangs, but nothing is reported in the IDE. The IDE then reports its own error, requiring a restart.
I have tried with EurekaLog too, with no success. Ultimately I have to kill the app using Task Mgr, with nothing reported.
Help. Any advice?