Debugging JNI with CDT [message #148177] |
Tue, 05 July 2005 10:21  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04412 seconds