Dear members,
[SUMMARY]
Wish to know if BoundsChecker could be used with Weblogic to detect
leask in C++ library code, which is being accessed via
Weblogic-running Java code.
[DETAILS]
ENV: Weblogic 6.1, VC++ 6.0 and BoundsChecker 6 or 7.2
We have EJBs running under Weblogic, making call to C++ DLL routines,
via JNI [Java Native Interface] mechanism. We wish to
use the BoundsChecker tool to detect the memory leaks among other
things.
Even though we have used BoundsChecker [BC] on several occasions to
debug the C++/VC++ code, we are not sure if it could be
used in above context where the C++ DLLs are loaded into the address
space of Weblogic-Java, and the Java process is being
'attached' in the debugger. To be best of my understanding, such a
reverse debugging would have limitations as far as capabilities
of BC to broach into.
Unfortunately, I do not have BC copy at moment at hands, hence unable
to try out.
Can somebody let us know if such an debugging arrangement could be
possible from BC perspective? Do we need to tincker with
any registry settings like 'Image File options' etc?
Thanks for your time.
- Kedar