To debug java from c++ application
1 posts in topic
Flat View  Flat View

Posted By:   Sahana_srinivas
Posted On:   Tuesday, March 16, 2004 03:50 PM

I have c++ application calling java methods through JNI. From c++ when I call the java method through JNI how do I debug the java code? It would be of great help if I get to know the settings that I need to do. I am using VC 6.0 for C++ and JBUIlder 8 for JAVA application.

Please use html tags to format code blocks.

Re: To debug java from c++ application

Posted By:   R_H  
Posted On:   Tuesday, March 23, 2004 02:25 PM

wrap your dll's in VC debugger and simultaneosly use jbuilder for remote debugging the same app. too - and be patient ;))

example of java app. parameters for remote debugging
set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

then you can connect jbuilder for remote debugging on port 8787

but no guarantee about side effects :)
About | Sitemap | Contact