I just wanted to mention that I like the idea of the debug info being output to a file but
with that I was getting nothing until I put some endl 's in there to flush it to file before the segfaults.
Now things like this show up and are very helpful:interesting thread , thanksCode:fout << "12 " << "mortals->next->next= " << mortals->next->next << endl;