Debugging JAVA code from C++ (JNI) - VS2010 + NetBeans
===

I'm creating PKCS#11 library with all functionality writen in JAVA. Debugging .dll is not a problem (attaching firefox with loaded .dll), but I need also debug on JAVA side. I call JAVA's functions by Java Native Interface. There are many instructions how to debug JAVA (NetBeans) -> C/C++ (VisualStudio), but can't find any useful C/C++ -> JAVA.
I use Visual Studio 2010 Ultimate and NetBeans 7.1.1 with JAVA 7.

Please help me some, becouse it's very important for me.
Thank You in advance.