mardi 27 janvier 2015

Eclipse just runs forever in the middle of a program execution


Vote count:

0




I observe a really weird behavior. I'm pretty sure there's a bug in my code, but Eclipse's behavior is so strange that I cannot figure anything out.


First, here's my code: http://ift.tt/15L1JzG.


I'm trying to solve Project Euler's problem 96, i.e., I'm trying to build a Sudoku solver using Knuth's Dancing Links. Basically, I'm done. However, when I run the program, I get the following output:



start search
before calling search(0 + 1)
start search
before calling search(1 + 1)
start search
before calling search(2 + 1)
start search
before calling search(3 + 1)
start search
before calling search(4 + 1)
start search
before calling search(5 + 1)
start search
before calling search(6 + 1)
start search
before calling search(7 + 1)
start search
before calling search(8 + 1)
start search


After that---nothing. There is no error, no overflow, Eclipse just continues running forever. I have no clue at all what this means. I'm pretty sure the fact that it stops at search(9) has something to do with the many nines in my code. But there is no error, and I'm at a loss.


Can anybody enlighten me? What does Eclipse want? What did I do wrong?



asked 1 min ago







Eclipse just runs forever in the middle of a program execution

Aucun commentaire:

Enregistrer un commentaire