I want to test that my program now checks every 60 seconds for a frozen main thread. What is the best way to do this? Right now, I'm trying:
for i:=1 to 100 do
sleep(1000);
This causes the program to say "Not Responding" but madExcept isn't saying that the program seems to be frozen. Is it a bug in madExcept or am I approaching this wrong?
So madExcept isn't even complaining after those 100 seconds? Your code should actually trigger the freeze detection alarm. That's strange. Do you have a custom exception handler installed?
No, I don't have a custom exception handler installed. I showed this to a co-worker, and he showed me that I had one setting unchecked that I was depending on to show me that the application was frozen. Sorry about this. False alarm. But thanks for the quick response.