Debug Suggestion

Richard Kreiss rkreiss at gccconsulting.net
Thu Dec 5 13:07:53 PST 2013


I have a  new output program that as I added functionality to it, it started to crash.  As there are over 47,000 records to process and the program runs through quite a number before crashing, I created a small file called bug_fix.  This file has one field in the record; in this case it is a sales journal # (7,.0) (change this field to meet the requirements of the program).  The bug_fix record is created at the start of the process for each record.  When the crash occurs, I can check this file for the sales journal record where the problem happens and then set the debug on at that record.  This makes it easy to find the problem.

I should have thought of this years ago as it would have saved a lot of time debugging a program.

Just thought I would pass this suggestion on in case you hadn't thought of doing this.


Richard Kreiss
GCC Consulting

Office: 410-653-2813




More information about the Filepro-list mailing list