Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any Tips on Debugging Top Level Form Apps?
Message
De
16/07/2004 18:57:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00925171
Message ID:
00925402
Vues:
18
>Thanks for everyone's help. The problem was a CLEAR EVENTS was seemingly being fired but the debugger kept returning to my READ EVENTS line. This obviously confused the hell out of me so I thought the debugger was not really working. I was also trying to use BINDEVENTS to fire some shutdown code in the top level form's PostUnload method by binding this method to the Unload event. It was not firing. When I removed the BINDEVENTS, and just put the code in the Unload, the shutdown code started firing. However, to get the app to totall shutdown, I had to close the debugger. The debugger just would not move off my READ EVENTS for some reason. I have either found an anomoly or did not do something just right. At least all now works as expected. I'll try to hammer out some repro code, but I am not very hopeful.

I've had something similar in VFP7, but it was a .desktop=.t. app (not that it makes it much different, though), and I think my reasons for the .exe being stuck were not of the same kind, but in the same vain - the form would go invisible, but wouldn't release. Don't really remember why, that was two years ago.

My debugging tip is to run the exe from within VFP. It was always possible in VFP, didn't try in DOS version. Just Do your.exe and you can use all the asserts , set steps and other breakpoints you want. Your version(2) will be =2, in case you're using it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform