I am writing a large complex problem and I wanted some general advice. Right now the program is supposed to run a bunch of programs 1700 times. However at counter # 1018 it get a Segmentation fault.
My problem is that I do not understand how to debug the program. The program takes 20 minutes to run so I cant step through the program. I was wondering if any of you could help give me some debugging tips in very large programs.