Debugging Objective C JNI code

Posted by thatidiotguy on Stack Overflow See other posts from Stack Overflow or by thatidiotguy
Published on 2012-10-04T18:36:30Z Indexed on 2012/10/09 21:39 UTC
Read the original article Hit count: 463

Filed under:
|
|
|
|

Here is the situation:

I have a client's java project open in eclipse. It uses a JNI library created by an Xcode Objective C project. Is there any good way for me to debug the C code from eclipse when I execute the Java code? Obviously eclipse's default debugger cannot step into the jni library file and we lose the thread (thread meaning investigative thread here, not programming thread).

Any advice or input is appreciated as the code base is large enough that following the client's code will be radically faster than other options.

Thanks.

EDIT:

It should be noted that the reason that the jni library is written in Objective-C is because it is integrating with Mac OSX. It is using the Cocoa framework to integrate with the Apple speech api.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode