![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Mon, Aug 20 2007 1:48 AM | Permanent Link |
Dave | Hi
I am getting an intermittent error on shutdown of my application: Cannot perform this operation on a closed dataset You'd think an error like this would be easy to debug but i've having a hell of a time with it. The IDE doesn't break on exception when it occurs. It seems to happen after my form has been destroyed and my debug logger (TJvDebugHandler) doesn't catch it. I'd like to hear some suggestions for debugging it, or ideas on what could trigger such an error on shutdown. Thanks IA d |
Mon, Aug 20 2007 4:47 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Dave,
<< I'd like to hear some suggestions for debugging it, or ideas on what could trigger such an error on shutdown. >> It's usually a case of one form trying to perform an operation on a data component that resides another form or data module that has already been closed but not destroyed. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Aug 20 2007 8:15 PM | Permanent Link |
"Adam H." | Hi Dave,
You could try Eurekalog. (Comes with a trial version). It has a stack trace, and shows you the various modules, procedures and line positions that lead to that exception. Cheers Adam. > I am getting an intermittent error on shutdown of my application: > > Cannot perform this operation on a closed dataset > > > You'd think an error like this would be easy to debug but i've having a > hell of a time with it. The IDE doesn't break on exception when it > occurs. It seems to happen after > my form has been destroyed and my debug logger (TJvDebugHandler) doesn't > catch it. > > > I'd like to hear some suggestions for debugging it, or ideas on what could > trigger such an error on shutdown. > > Thanks IA > > d > |
Tue, Aug 21 2007 1:21 AM | Permanent Link |
Dave | Thanks for the feedback, guys.
It's one of those things... I could kick myself now. I had checked all forms that could possibly be open at shutdown, but had neglected to check units. One was doing something silly in Finalization. Naughty, naughty! d |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |