If you want to debug JNI code, you need to run a native debugger like
gdb, not a Java debugger. It would be nice if a single debugger could
handle both, but no debugger (that I know of) can do that.
It's a bit tricky to set up. Here's a document from IBM that talks about
how to do it with the AIX
Hi ,
i am new to JNI. I am trying to set the break point in JNI code using jdb...(
REdhat Linux7.1 + blackdown jdk1.3.1)
i follwed the below proceduredures
1.
setting environment for
export LD_PRELOAD=libHelloWorld.so
export DEBUG_PROG=jdb
then i tryed to run my program using