Plugins (1067)


Training and Consulting (40)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 538
Comments: 0


Category: Plugin Directory / Tools / JNI Applications debugging

JNI Applications debugging 
Rate this plugin | Report broken link | Details | Comments (1)

Rating: 10.0 (2 Votes) | hits: 1
JNI Applications debugging

Version: 0.0.2
Support Eclipse Version: 3.3
License: Free EPL
Development Status: Alpha
Company:
Plugin home pageHome Page
Plugin SupportPlugin Support
Discussion ForumsDiscussion Forum
Buy Now
Update Site URL: http://eclipse-incub.svn.sourceforge.net/viewvc/*checkout*/eclipse-incub/jni_seamless_debugging/update-site/site.xml

With this plug-in, you can debug your JNI applications more easilly. It adds adds an entry in the Debug dialog, which allow you to launch a JNI debug session. After creating a new configuration with the correct settings, if you launch it, the JVM will be launched and gdb attached to its pid and the two targets will be displayed. Then you can follow the call of native functions into native code. For instance, regarding this Java line : new JNITest().native_doubleInt(42); If you choose to step into, then you will go into native code : JNIEXPORT jint JNICALL Java_JNITest_native_1doubleInt (JNIEnv *pEnv, jobject obj, jint value) { If you choose to step over, or step return, you will simply go on the next Java code line. The same behavior is available to follow java call from native code. For instance regarding this C line : (*pEnv)->CallVoidMethod(pEnv ,obj,mid); If you choose to step into, then you will go into the java method. Otherwise if you choose to step over, or step return, you will simply go on the next native code line.
Added on: 30-Aug-2007




Last 1 Comments


User: AnonymousRating: 102007-08-31 15:17:34
Serves a great need! Good job!