FIX: Deleting Object in Watch Window Causes Application Error (157989)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0

This article was previously published under Q157989

SYMPTOMS

In the Debugger Watch window, deleting the text in the Name column causes an Application error following which Visual FoxPro is down.

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.0a.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Run Visual FoxPro and create an object as in the following:
          MyForm = CREATEOBJECT("Form")
    						
  2. Open the Debugger in Debugger Frame mode.
  3. Add MyForm as a Watch expression in the Watch window.
  4. Click on the "MyForm" string under the Names column twice, or select the entry and then click on the MyForm string so that it goes into edit mode. Edit mode means that there is a blinking cursor within the MyForm entry of the Names column. The Mouse Cursor changes to an I-Beam when it is over the MyForm entry.
  5. Delete the "MyForm" entry using the Backspace or Delete key
  6. Press Enter.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbBug kbvfp500aFIX KB157989