Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging JNI with CDT
Debugging JNI with CDT [message #148177] Tue, 05 July 2005 10:21 Go to next message
Eclipse UserFriend
Originally posted by: roy.csl.sony.fr

I use Eclipse 3.0.2 with CDT 2.1.1 and MinGW

I have a project using both C and Java code. The C code is compiled as a
DLL that is called by the Java code through a JNI.

The DLL is compiled using GCC with the -g3 and/or -ggdb options.

How can debug both sides of the code (i.e. the Java AND the C). I can
debug the Java code allright, but I could not find where to tell Eclipse
that I want to debug the C code as well (breakpoints in the C code are
ignored)

Thanks a lot

Pierre Roy,


My system:
Eclipse 3.01
CDT 2.1.1
Re: Debugging JNI with CDT [message #148184 is a reply to message #148177] Tue, 05 July 2005 10:42 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefer.rogers.com

Pierre Roy wrote:
> I use Eclipse 3.0.2 with CDT 2.1.1 and MinGW
>
> I have a project using both C and Java code. The C code is compiled as a
> DLL that is called by the Java code through a JNI.
>
> The DLL is compiled using GCC with the -g3 and/or -ggdb options.
>
> How can debug both sides of the code (i.e. the Java AND the C). I can
> debug the Java code allright, but I could not find where to tell Eclipse
> that I want to debug the C code as well (breakpoints in the C code are
> ignored)
>
> Thanks a lot
>
> Pierre Roy,
>
>
> My system:
> Eclipse 3.01
> CDT 2.1.1
>

Hi Pierre, this functionality is still on our wish list (well, dream
list really). There is no support for this in Eclipse right now. And if
you try it manually using separate debug sessions for the C and Java,
the JDT debugger gets a timeout while you are sitting in a breakpoint
and shuts down. Some day...

--
Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa Lab
Kanata, Ontario, Canada
Previous Topic:Hovers in CDT
Next Topic:gcc + /usr/ccs/bin/as does not work with CDT Managed Make
Goto Forum:
  


Current Time: Sat Jul 05 02:09:39 EDT 2025

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

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

Back to the top