Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   Debugging Jni (http://www.programmingforums.org/showthread.php?t=1250)

pico Nov 23rd, 2004 5:35 AM

Hi

I've been stuggling with a problem for quite some time, and going to ask you fellas for help to try preserve my sanity :)

I'm using JNI to call a some windows functions.
These functions always fail, I can see this from the result returned to java.
What would really solve my problem, is if I could attach a debugger to the DLL to see exactly what I am receiving from Java and then what is going wrong.

Does anyone know how to do this?
I read an article on doing this: http://www-106.ibm.com/developerwork...ry/j-jnidebug/
This article is rather complicated and the proposed solution does not work! I get an exception when trying to attach the debugger.

Thanks in advance


All times are GMT -5. The time now is 1:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC