Browse Prior Art Database

VS/PASCAL Compiler Error Debug Aid

IP.com Disclosure Number: IPCOM000035027D
Original Publication Date: 1989-May-01
Included in the Prior Art Database: 2005-Jan-28
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Downey, JH: AUTHOR

Abstract

A system is described which imbeds into (and removes from) a VS/PASCAL source program compiler error messages. When a VS/PASCAL program is compiled, a listing file is generated containing possible errors. The program developer must toggle between the source file and listing file to correct any errors. When a error is located in the listing, it must also be located and fixed in the source. This process is time-intensive. A system has been developed which keys off the return code of the VS/PASCAL compiler. If there are fatal errors during the compile, then the return code will be greater than four and the "VS/PASCAL Compiler Error Debug Aid" will be invoked. The "VS/PASCAL Program Debug Aid" parses the listing file and creates a new source file.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 97% of the total text.

Page 1 of 1

VS/PASCAL Compiler Error Debug Aid

A system is described which imbeds into (and removes from) a VS/PASCAL source program compiler error messages. When a VS/PASCAL program is compiled, a listing file is generated containing possible errors. The program developer must toggle between the source file and listing file to correct any errors. When a error is located in the listing, it must also be located and fixed in the source. This process is time-intensive. A system has been developed which keys off the return code of the VS/PASCAL compiler. If there are fatal errors during the compile, then the return code will be greater than four and the "VS/PASCAL Compiler Error Debug Aid" will be invoked. The "VS/PASCAL Program Debug Aid" parses the listing file and creates a new source file. The contents of the new source file depend on what token is detected in the listing file. One of several actions will occur: 1. The token is converted into source code. 2. The token is ignored. 3. The token flags an error. It is converted into a comment and is inserted into the source code under the error. 4. The token is a summary of error messages. It is converted into a comment and placed next to the applicable error. To correct compile errors, the programmer need only edit the source file. To find an error, the programmer does FIND on the string "<ERROR>" which is always located in columns 3 - 9. The error can then be fixed. Once all errors are corrected, the system allows for the auto...