Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you debug...
Message
 
 
To
12/11/2008 10:47:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01361357
Message ID:
01361362
Views:
15
>your ON SHUTDOWN procedure? Any attempt to step through it results in:
>
>CANCEL or SUSPEND is not allowed (Error 1651)
>
>The dBASE IV report or label file you are running calls a SUSPEND. This is not a valid operation in Visual FoxPro.
>
>which is not at all helpful. The reason I'm in there is we have a couple of laptops that are BSODing intermittently when the user selects Exit from the app menu. This code hasn't changed in years and I haven't a clue how to proceed.

I don't see why you can not debug ON SHUTDOWN procedure code.

Put for now some messageboxes or wait windows there or writing to log file messages. You may also try DEBUGOUT commands.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform