Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging C/C++ and Java in a JNI application
Debugging C/C++ and Java in a JNI application [message #166637] Mon, 27 March 2006 12:21
Eclipse UserFriend
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
Previous Topic:Eclipse CDT for eclipse 3.2 M5
Next Topic:Use the makefile from a Java project
Goto Forum:
  


Current Time: Sun Jul 20 03:14:53 EDT 2025

Powered by FUDForum. Page generated in 0.02779 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top