摘要 |
PURPOSE:To speedily and surely analyze a program trouble place by reporting the trouble in the unspecific value reference of a program as a program error. CONSTITUTION:When the program 105 runs, a work area 110 is assigned on a memory 100. The area 110 is initialized in specific pattern and every time the program 105 make a reference 115 to data in the area 110, a check (125) on whether the reference data are still initialized data or not is made. When the program 105 is normal, the data are set in the area 110 and then arithmetic, etc., is performed by referring to the data, so the reference data become different from the initialized data and the result of the check 125 indicates a discrepancy. If the program 105 has abnormality and refers to the area 110 without setting the data in the area 110, the initialized data are referred to, so the result of the check 125 coincides. In this case, an unspecific value reference is therefore judged and after the error is reported, the processing of the program 105 is stopped. |