Computer Freezes Up

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.
 
D

Dorian

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".
 
L

Linq Adams via AccessMonster.com

"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".

Down South we say

"Give someone a fish and they eat for a day; teach someone to fish and
they'll sit around in a boat all day, drinking beer and telling lies!"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top