DEBUG

The DEBUG command provides an interface to a set of command-line debugging tools. These include setting and manipulating breakpoints and single-stepping through lines of code.

The various debugging commands are executed by entering DEBUG followed by additional key-words and options. The debugging commands are intended for interactive use.

EASI prints detected errors in the following formats:

Format 1:
	filename.eas:line number: error type and location in the line 
	line, which produced the error
Format 2:
	Warning: error type: description
	Line number of file 'filename.eas':
	line, which produced the error

Example:

EASI>run Example2
EXAMPLE2.EAS:8:syntax error before character 48.
input "Do you wish to run this program? (Y/N): ", yn

Where: 'EXAMPLE2.EAS' - name of the file; '8' - line number of the error; 'syntax error' - error type; '48' - position of the error in the line. The next line consists of the line with the error. In this example, the comma ',' after prompt is incorrect according to EASI syntax.

EASI>run Example2
Warning: E608:Divide by zero.
Line 35 of file 'EXAMPLE2.EAS':
"i=1/0"

Where: 'EXAMPLE2.EAS' - name of the file; '35' - line number of the error; 'E608:Divide by zero' - error type and description; '"i=1/0" - the line with the error.

This section discusses the following DEBUG commands:

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.