What's the trick to debugging a C shared library called by Java via JNI? [message #164355] |
Thu, 23 February 2006 11:37 |
Eclipse User |
|
|
|
Originally posted by: jancewicz.comcast.net
I am debugging a Java application that uses JNI to call C functions in a
shared library. I can step through my Java code with the Eclipse debug view
up to a point just after the library is loaded into memory by the
loadLibrary() call. At that point, with the Insight debugger, I can attach
to the JVM running my Java app and debug my C code in the shared library.
However, when I try to do the same thing using my shared library project
under the CDT debug view in Eclipse, gdb chokes and says it "cannot access
memory".
Are there any suggestions for how to work around this problem?
Thanks in advance,
Nick
|
|
|
Powered by
FUDForum. Page generated in 0.04423 seconds