Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger not honoring breakpoints?
Message
De
21/10/2003 15:13:30
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840782
Message ID:
00840795
Vues:
28
Jon-

>When I open a code window for a class method and double click in the left margin next to a line, VFP will correctly put a marker in the margin and set up a breakpoint for that line of code. However, when I run my app with the debugger open, the debugger does not stop at the breakpoint at all. I know that the method code is being hit because if I type SET STEP ON just before the breakpoint line, the debugger stops appropriately.

When you set a breakpoint like this, the breakpoint has the form:
baseclass::baseclass.method,line
If this class is subclassed, and the subclass or the object also has code in the method--of course you're calling DODEFAULT()--the breakpoint won't work as is. You have to change it to use the form:
Object.Method,Line
The bp as is will work except under these conditions, or so far as I've been able to discern.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform