Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger not honoring breakpoints?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840782
Message ID:
00840795
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform