SET ECHO Command

See Also

Opens the Trace window for program debugging. Included for backward compatibility. Use the Trace window instead.

Syntax

SET ECHO ON | OFF

Arguments

ON

Displays the source code for the program that is executing in the Trace window. The line currently executing is highlighted.

OFF

(Default) Closes the Trace window in FoxPro versions earlier than 2.0. From within a program, the Trace window can be closed with DEACTIVATE WINDOW TRACE.

Remarks

You can also use the Trace window to set breakpoints, which suspend program execution.

For more information about the Trace window, see the Trace Window online topic and Chapter 14, Testing and Debugging Applications, in the Programmer's Guide.