Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger problem
Message
From
25/07/2002 11:43:58
 
 
To
24/07/2002 17:37:28
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00682317
Message ID:
00682550
Views:
12
Geoff-

>I have a really weird problem where my debugger wont work in the Load & Init methods (possibly others) when it is 'in a top level form' yet when I run the form direct it activates my break points.

I'm not sure what you mean by "run the form direct." Do you mean you set the form as an in _Screen form? Or as a top level form?

>If I place a break point in any method code (load or Init) of objects in my form it activates the debugger. Just not on the form itself.

If you look through the objects in the trace window, do you, though, see a breakpoint set in the form load (just to take one method to start)?

Is the form an .SCX or a visual class in a class lib?

You don't say what version of fox you're using, but if it's 7, clicking the left margin in the code window to set a breakpoint in a method can create a bp with the wrong syntax. Check in the bp dialog and post what the syntax of the bp really is.

>
>Placing a 'SUSPEND' in the code activates the debugger but not breakpoints.

Eeek! Use ASSERT .F. instead of suspend. *g*
Previous
Reply
Map
View

Click here to load this message in the networking platform