PRB: SET ECHO Is Reset When Trace Window Closed with ESC Key

Last reviewed: June 27, 1995
Article 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.

MORE INFORMATION

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.