Microsoft KB Archive/114466

{| = PRB: SET ECHO Is Reset When Trace Window Closed with ESC Key =
 * width="100%"|

ID: Q114466

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, and 2.6
 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, and 2.6
 * Microsoft FoxPro for Macintosh, version 2.5b
 * Microsoft FoxPro for UNIX, version 2.60

SYMPTOMS
When you have opened the Trace window by issuing the SET ECHO ON command, pressing ESC will close the Trace window, but ECHO is reset to OFF.

RESOLUTION
If you issue the DEACTIVATE WINDOW TRACE command, the Trace window will close, but ECHO will still be ON.

Steps to Reproduce Behavior
1. In the Command window, issue the following commands:

SET ECHO ON     ?SET('ECHO')

Note that ON is echoed to the desktop. 2. In the Command window, issue the following commands: DEACTIVATE WINDOW TRACE ?SET('ECHO')

Note that ON is still echoed to the desktop. 3. In the Command window, issue the following commands: SET ECHO ON     ?SET('ECHO')

Note that ON is echoed to the desktop. 4. Activate (select) the Trace window and press ESC. 5. In the Command window, issue the following command:

?SET('ECHO') Note that OFF is echoed to the desktop. Additional reference words: FoxMac FoxDos FoxWin FoxUnix 2.00 2.50 2.50a 2.50b 2.60 KBCategory: kbprg kbprb KBSubcategory: FxtoolDebug
 * }