Skip to content

Debug Command

Obsolete

This option is obsolete. Use the DataFlex Studio for full source-level debugging.

Purpose

To aid program debugging by displaying to the screen the number of the line being executed as the program is running.

Syntax

debug

What It Does

As a program executes, debug displays program line numbers to the screen.

Notes

  • debug is a "toggle" which you may switch on and off at various points in your program. The second appearance of debug in your program will discontinue debug output. The third appearance turns it on, the fourth turns it off, and so forth.

  • The effect of debug is normally confusing to program users. Be sure to remove all debug statements before delivering or installing your final program.

  • The line numbers displayed are the compiled command line numbers, not the line count in your source code. A printout of the compile time listing will enable you to identify numbers output by debug to command lines.