RE: VFP refuses to close

Author: Allen

Posted: 2012-04-19 at 10:56:29

It is possible to be caused by errors. Today I was in debugging mode and

stopped the program several times to alter code. I would have thought Clear

all Release all, clear programs would have dealt with that though.

Al

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On

Behalf Of Tracy Pearson

The times I saw this were related to me running code that threw an error.

Sometimes a form, or class was open for editing and it gets in a bad state.

Other times I could never find the culprit. I have a feeling it was related

to a datasession that was open and a reference to an object or cursor did

not close correctly.

I now run all my testing in a different VFP IDE session than where I write

the code. Some setup was needed, add a menu item (with a hotkey if desired),

create a custom config.fpw that will launch a special startup.prg, which

sets the environment and launches the code or even the EXE in the IDE

allowing me to debug errors with Version(2)==2 in my error handler.

I hope you catch the culprit.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/006f01cd1e44$fd368330$f7a38990$@com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Allen