Forum Discussion
h_hasenack
14 years agoOccasional Contributor
After some correspondation by email, at first it seemed the problem was caused by the aqtime IDE plugin extension being compiled with XE2 Update2. I got a new bpl (to test) and the problem appeared to have gone away.
BUT as it turned out, I had also disabled my exception hooking code meanwhile. And this again turned out to be the real issue.
What actually hgappened is that the initialization code installed for exception hook, also was executed when my bpl was loaded by the IDE (support for some designtime package). And this probably caused a mixup with the IDE's own exception handling routines, and crashed the IDE in a very crude way.
Also de XE2 internal debugger seemed to have trouble with my exception handling code.
The solution was to extend the initialization routine so my hooks won't be installed:
1) if the bpl was loaded by BDS.EXE
2) if DebugHook<>0
I must say Smartbear (support at automatedqa.com) took my report very seriously and helped to fix the issue. Great support. Thanks David.
BUT as it turned out, I had also disabled my exception hooking code meanwhile. And this again turned out to be the real issue.
What actually hgappened is that the initialization code installed for exception hook, also was executed when my bpl was loaded by the IDE (support for some designtime package). And this probably caused a mixup with the IDE's own exception handling routines, and crashed the IDE in a very crude way.
Also de XE2 internal debugger seemed to have trouble with my exception handling code.
The solution was to extend the initialization routine so my hooks won't be installed:
1) if the bpl was loaded by BDS.EXE
2) if DebugHook<>0
I must say Smartbear (support at automatedqa.com) took my report very seriously and helped to fix the issue. Great support. Thanks David.