Microsoft KB Archive/157766

= FIX: Breakpoint Not Refreshed for Duplicate Watch Window Entry =

Article ID: 157766

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q157766



SYMPTOMS
The breakpoint for duplicate entries in the Debugger Watch window are not updated unless the focus is moved from one to the other.



WORKAROUND
After setting the breakpoint on one entry if you move to (Highlight) another instance of that entry, then the duplicate is assigned a breakpoint automatically. The reverse behavior occurs when removing the breakpoint.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This has been corrected in Visual FoxPro 6.0.



Steps to Reproduce Behavior
  Run Visual FoxPro and create an object, for example: MyForm = CREATEOBJECT("Form")  Open the Debugger and enter MyForm as a Watch expression. Add MyForm as a Watch expression again. Select the First MyForm entry. In the Watch window set a breakpoint on the first "MyForm" entry by double-clicking in the blank area to the left of the "+" sign for "MyForm." Set a breakpoint on the second "MyForm" entry in the same manner as in the previous step. Make sure that you set the breakpoint without selecting the second entry and with the first entry of "MyForm" selected.</li></ol>

In step 5 you have to double-click twice to set the breakpoint. This should not be allowed and should not be necessary. The breakpoints for duplicate entries should be updated automatically so a change (breakpoint Insert/Remove) in one instance affects all other instances of the entry in the Watch window.

Additional query words: kbvfp600fix

Keywords: kbbug kbfix KB157766

-

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

© Microsoft Corporation. All rights reserved.