Microsoft KB Archive/131348

= PRB: SET STEP ON Opens the TRACE Window Only =

Article ID: 131348

Article Last Modified on 2/15/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q131348



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.



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: KB131348

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.