Debug Suggestion

Doug Luurs doug at borisch.com
Thu Dec 5 13:21:09 PST 2013


Just my 2 coppers worth...

I'm with Richard on this one .. when a program crashes, a simple
Text log file with diagnostic information would be very nice to have.

If something crashes in the background or during an overnight cron,
It is highly doubtful you will see the information 'blink' by.


-----Original Message-----
From: filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com [mailto:filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com] On Behalf Of Richard Kreiss
Sent: Thursday, December 05, 2013 4:08 PM
To: filepro-list at lists.celestial.com
Subject: Debug Suggestion

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


_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list


-- 
These commodities/technical data, including attachments, are controlled under
the United States Export Administration Regulations (EAR) and the International
Traffic in Arms Regulations (ITAR). This information may not be exported to a
foreign person, either in the U.S. or abroad, without the proper authorization
of the U.S. Department of State or the U.S. Department of Commerce. Prior to
distributing, please contact Ampehnol Borisch Technologies to obtain
related information for commodity classification and jurisdiction as well as
end users.

This E-mail, including any attachments, should be considered confidential and
proprietary information. Further, this information is intended solely for use
by the individual to whom it is addressed. If you received this E-mail in
error, please notify the sender, do not disclose its contents to others, and
delete it from your system.  Any other use of this E-mail and/or attachments is
prohibited.  This message is not meant to constitute an electronic signature or
intent to contract electronically.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20131205/2a31b846/attachment.html 


More information about the Filepro-list mailing list