Debugging C/C++ and Java in a JNI application [message #166637] |
Mon, 27 March 2006 12:21 |
Eclipse User |
|
|
|
Originally posted by: jancewicz.comcast.net
From recent messages on this group I see there are others who have had
difficulties getting Eclipse to work with gdb to debug C/C++ code. I
recently had a similar experience while attempting to use Eclipse to debug a
JNI application that involved both native C/C++ code and Java.
The Java debugger in Eclipse works very well but I had to resort to using
Insight in order to debug the native C/C++ shared library end of the JNI
code.
I wrote up a description of how to do it for one of our customers and I've
posted it to the following link, in case it might help somebody else:
http://www.kineteksystems.com/white-papers/mixedjavaandc.htm l
I'm not trying to sell this approach as an ideal debugging solution but
maybe it will help others to deal with the dual-debugger problem (until the
CDT developer team comes up with a more ideal solution).
Hope it helps,
Nick Jancewicz
Kinetek Systems
www.kineteksystems.com
|
|
|
Powered by
FUDForum. Page generated in 0.02779 seconds