Method to Correlate Error Report to Source Code
Original Publication Date: 1987-May-01
Included in the Prior Art Database: 2005-Feb-01
A method is described to provide easy correlation of the exact point in source code where an error log or report entry is generated. In large software systems, it is customary to have a standard mechanism for logging errors, whether hardware or software induced. Generally when a programmer is trying to ascertain the exact cause of an error, it is crucial to find the exact location in the source code which caused the error. The error logging strategy generally specifies that the software module name be included in the error report so that the offending module can be found. In languages like C, the preprocessor has predefined macros that can be used to give the current file name and the current line number in the source. Unfortunately, PLS does not have this capability.