Computer Freezes Up

  • Thread starter Thread starter Frank Wagner
  • Start date Start date
F

Frank Wagner

I’ve got something in my programming for a form that freezes up the computer
when certain unknown conditions occur. I imagine it’s got to be a loop in my
logic, but I can’t find it. I’ve stuck counters in a number of spots in the
code so when the counters hit 50 they will stop the code in debug mode, but
it must not hit the counters because they don’t stop it.

From the standpoint of a user it seems random as to when it occurs. They
could be working for hours and them suddenly it occurs. If I just put the
whole thing in debug mode, it could take me days to find it. Is there any
way to stop it somehow in debug mode when it freezes up so I can follow the
logic.

Any help would be appreciated.
 
Try Control-Break.
Try examining Windows Task Manager when its frozen.

What is the user doing when it freezes?
Is the PC low on memory?

-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
Back
Top