JNIBridge
Seamless debugging for mixed Java/C/C++ code Seamless debugging of mixed Java/C/C++ code is now possible with the new JNI Bridge.
Today, applications frequently contain Java code interfaced with native C/C++ code through JNI. Until now, the only way to debug this type of application was to manually switch between two debuggers and coordinate the actions, session, and data by hand. Now, you can combine the TotalView® debugger, the JNIBridge, and Eclipse to debug mixed Java/C/C++ code without switching from debugger to debugger. For the first time you'll be able to flow through your entire application in one smooth debugging session.

The JNIBridge forms a tight bond between your C/C++ and Eclipse debuggers, enabling seamless switching between then when JNI methods are encountered.
About the JNIBridge
The JNIBridge is designed to provide a totally seamless debugging environment for mixed code applications. With the JNIBridge, configuring your Java debugger to recognize the presence of the JNIBridge is painless. Simply run the installation wizard and the JNIBridge is automatically integrated into Eclipse. When you start the Eclipse debugger you'll notice the new JNIBridge menu. This menu is your starting point for debugging your complete application in a single session.
With the JNIBridge, you can seamlessly debug mixed Java/C/C++ code no matter which "side of the bridge" you begin on. It works whether your application is Java-based, calling C/C++ methods through the JNI or a C++ program with an embedded Java Virtual Machine (JVM).
Automatically Switch Debuggers
During a debug session, breakpoints in the Java or C++ code may be hit. The appropriate debugger will come forward, alerting you to debug your code. Also, you may step from one language to the other
Automatically Recognizes Fatal Errors on C/C++ (Native) Side
Among the advantages of the JNIBridge solution is that TotalView automatically recognizes fatal errors in your C/C++ code. Without the bridge, when your program has stopped, your Java debugger would be unaware of where and when a fatal error had occurred. With the bridge, your C/C++ debugger is always active and vigilant. TotalView detects the location of the problem and takes you there. Now you can use TotalView's advanced features to quickly apply and test your fix. Just back up the program counter, set an evaluation point and continue executing to try your fix on the fly. In fact, you can test a potential fix without even touching, let alone recompiling, your source code.