Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code runs with Debugger, doesn't without?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00106270
Message ID:
00106459
Views:
27
>I have code that is generating an error. When I set a watchpoint in debugger and step through the code, it executes fine. If I remove the watchpoint and run again, it errors?
>
>Has anyone else seen this behavior?
>
>Mat Kennedy


Mat,

You might try debugout command and run it. Other issues is the infamous =inkey(.01) which does wonders. Seems some of the code runs faster than others in VFP 3&5. Putting a short inkey() at various places sometimes does the trick. I've also put wait windows in when debugging (instead of using the debugger) to try to narrow down where the failure is taking place.

Robert
Previous
Reply
Map
View

Click here to load this message in the networking platform