I am working on an application where i have to capture an image form webcam and display on the the window. But the problem is that it goes into infinite loop. Is there any way the i can stop these loop. A function that i can you to check if loop occurs, somthing like ASSERT(); .....
Please let me know