Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger - Set Next Statement
Message
From
07/11/2002 16:41:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00718946
Message ID:
00720040
Views:
16
Hi, Richard-

>Thanks for the information. I've checked and in my case I'm staying within the current module (trying to go back a few lines).

So, the bug happens one one line in a method, and you are trying to set next statement to another line in the same method? You're not actually in an ON ERROR trap? Or in an Error method?

What's the error you get?

>So...even a form METHOD should have a RETURN?

Yep. IMO.

>IF a form METHOD doesn't have a RETURN the debugger may not give me the Set Next Statement?

No, the RETURN doesn't have anything to do with whether Set Next Statement is available, so far as I know. But what it does for me is I'm guaranteed that I have a last line in the method to set a breakpoint on, or, when it works *g*, Set Next Statement to. If the error occurs on the last line of a method, and you leave RETURN implied, then there's no way to break within that same method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform