PRB: SET STEP ON Opens the TRACE Window OnlyID: Q131348 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSIf 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.
CAUSEThe 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 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.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorSET STEP ON DO <a program that does not have any breakpoints> The TRACE window is activated, but stepping does not occur because there are no breakpoints. Additional reference words: 3.00 VFoxWin KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |