DOCUMENT:Q131348 15-FEB-2000 [foxpro] TITLE :PRB: SET STEP ON Opens the TRACE Window Only PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== If the SET STEP ON command is executed outside of a program, it brings up the TRACE window, but it does not step through the program unless you have a breakpoint set in your program. CAUSE ===== The following information from the Visual FoxPro Help file explains how SET STEP works: SET STEP is used to debug programs. You can insert SET STEP ON in a program at the point where you want to execute individual commands. For information about the Trace window, see the Trace Window topic in the Visual FoxPro Help file and Chapter 16, "Testing and Debugging Applications," in the Developer's Guide. To pass parameters to a program and then trace its execution, follow these steps: 1. Open the Trace window. 2. From the Trace window's Program menu, choose Open and select the program to trace. 3. Set a breakpoint on the first executable line of the program. 4. In the Command window, use DO to run the program with the parameters. STATUS ====== This behavior is by design. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- SET STEP ON DO The TRACE window is activated, but stepping does not occur because there are no breakpoints. Additional query words: VFoxWin ====================================================================== Keywords : Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : WINDOWS:3.0 ============================================================================= 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. Copyright Microsoft Corporation 2000.