Language Reference

DEBUG

Start the program debugging mode.

Item

Description

Preset State

DEBUG OFF

Example

210

OUTPUT

723;"DEBUG

SLOW;"

Activate the slow debug mode.

 

220

OUTPUT

723;"DEBUG

OFF;"

Turn o￿ debug mode.

Description The DEBUG command is a troubleshooting aid for locating faulty syntax in spectrum-analyzer programs. DEBUG ON, DEBUG SLOW, and DEBUG FAST

activate the debug mode, where spectrum analyzer commands are displayed on the data line below the graticule as the commands are executed. When a faulty spectrum-analyzer command is encountered, subsequent analyzer commands are not executed. The faulty command is the last command shown at the right end of the data line. DEBUG also activates keys that step, pause, or continue program operation.

DEBUG FAST processes commands quickly. DEBUG SLOW processes command slowly.

7-108