I’m having a hard time tracking down a bug in my program; under certain conditions the program results in an infinite loop.
Will someone Please help me track down this bug?
The program is suppose to use A-Star path finding to find a path around the image boxes and then draw arrows that indicate the path from where the user clicks to a predetermined point.
The error seems to occur when I click somewhere above the top middle or below the bottom middle images.