When working with loop some time the loop goes into infinity while testing and I have terminate with “Ctrl+Alt+Del" and lose all unsaved work.

How to get out of infinity loop without losing unsaved work.


Show us the code that causes the loop to freeze.

commented: he just wanted to know how to break from an infinite loop +0

Check this thread out:

Yes Farouk, he did ask how to exit the loop. what we really need to do if we REALLY want to help the poster is to see why his application went into an infinite loop in the first place, sorting the cause of the problem, not the symptoms.