Microsoft KB Archive/133033

= FIX: Tracing Main Program After DO *.PJX Causes Exception Err. =

Article ID: 133033

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q133033



SYMPTOMS
The series of steps described under the More Information section is a process in which someone mistakenly chooses to DO <*.PJX> file from the Visual FoxPro user interface. Then the user gets a "Syntax error". Realizing a mistake was made, the user opens the *.PJX file and runs the proper *.PRG file. When the "Syntax error" appears again upon doing the *.PRG file, the user suspends the error and brings up the Trace Window to find out where the error is. At that point, a crash occurs in Visual FoxPro.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.



Steps to Reproduce Problem
  Run this command: CREATE PROJECT test_pro  Select the Code tab. Click the New button. Type WAIT WINDOW into Program1. Press CTRL+W to save the file as TEST_PRO.PRG and exit the Program Editor. (The .PRG file must have the same name as the .PJX file).  Run this command: DO TEST_PRO.PJX. </li> Cancel the resulting "Syntax error" and edit window.</li>  Run this command: MODIFY PROJECT test_pro. </li> Select the Code tab and drill down to Programs.</li> Select the program file TEST_PRO, and click the Run button.</li> Suspend the "Syntax error."</li> On the Tools menu, click Trace window.</li> Click Resume in the Trace window.</li> Cancel the "Syntax Error."</li> Close the program editing window. At this point, a crash occurs in Visual FoxPro.</li></ol>

Keywords: kbbug kbfix kbvfp500fix KB133033

-

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

© Microsoft Corporation. All rights reserved.