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

Last reviewed: October 20, 1997
Article ID: Q133033
3.00 3.00b WINDOWS kbtool kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b

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.

MORE INFORMATION

Steps to Reproduce Problem

  1. Run this command:

    CREATE PROJECT test_pro

  2. Select the Code tab.

  3. Click the New button.

  4. Type WAIT WINDOW into Program1.

  5. 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).

  6. Run this command:

    DO TEST_PRO.PJX.

  7. Cancel the resulting "Syntax error" and edit window.

  8. Run this command:

    MODIFY PROJECT test_pro.

  9. Select the Code tab and drill down to Programs.

  10. Select the program file TEST_PRO, and click the Run button.

  11. Suspend the "Syntax error."

  12. On the Tools menu, click Trace window.

  13. Click Resume in the Trace window.

  14. Cancel the "Syntax Error."

  15. Close the program editing window. At this point, a crash occurs in

        Visual FoxPro.
    


KBCategory: kbtool kbbuglist kbfixlist
KBSubcategory: FxtoolDebug fixlist5.00 VFoxWin buglist3.00 buglist3.00b
Additional reference words: 3.00 3.00b
Keywords : buglist3.00 buglist3.00b fixlist5.00 FxtoolDebug vfoxwin kbbuglist kbfixlist kbtool
Version : 3.00 3.00b
Platform : WINDOWS
Solution Type : kbfix


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: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.