Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » JNI code debug?
JNI code debug? [message #115551] Mon, 16 August 2004 10:08 Go to next message
Eclipse UserFriend
Originally posted by: schifane.di.unito.it

Hi,
I'm writing a Java application with native code in C (using JNI). I can
debug only the Java code by means of the standard Eclipse's debugger. It
stops at breakpoints made in java code, but it does not stop at
breakpoints made in C code... How I can debug the C code?

Thanks

Rossano S.
Re: JNI code debug? [message #115852 is a reply to message #115551] Tue, 17 August 2004 09:09 Go to previous messageGo to next message
Eclipse UserFriend
We have not yet gotten integrated CDT/JDT debugging working yet.

"Schifanella Rossano" <schifane@di.unito.it> wrote in message
news:cfqes2$tb4$1@eclipse.org...
> Hi,
> I'm writing a Java application with native code in C (using JNI). I can
> debug only the Java code by means of the standard Eclipse's debugger. It
> stops at breakpoints made in java code, but it does not stop at
> breakpoints made in C code... How I can debug the C code?
>
> Thanks
>
> Rossano S.
Re: JNI code debug? [message #115903 is a reply to message #115551] Tue, 17 August 2004 09:14 Go to previous message
Eclipse UserFriend
Originally posted by: alain.nowhere.ca

Schifanella Rossano wrote:

> Hi,
> I'm writing a Java application with native code in C (using JNI). I can
> debug only the Java code by means of the standard Eclipse's debugger. It
> stops at breakpoints made in java code, but it does not stop at
> breakpoints made in C code... How I can debug the C code?


There is simply no easy way to do this at the moment.
The integration of the different debuggers is just not there.

Basically, you could reattach to the VM, put a breakpoint at the right
function name, continue ... but I'm glossing over a lot of things.

Somebody should right a howto about this so we can post it to this group
this question come back every so often.
Previous Topic:Change C++ source file extension
Next Topic:C++ Configuration Problem
Goto Forum:
  


Current Time: Tue May 13 00:48:11 EDT 2025

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

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

Back to the top