How to Debug java Application
------------------------------
1)Right Click Project--->Debug As--->Run/Debug/etc
set the values in Environment Tab--->
Name :Value
JAVA_OPTS :-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true
JPDA_ADDRESS:8001
JPDA_TRANSPORT:dt_socket
after this Click on <-- Apply--> button
and then
Window-->Preferences-->MyEclipse--->Application Servers--->Jboss and jdk jre must be configure there then click on Apply and then -->OK<--
Now Run the application and use f6 f f8 keys.... for debug process
No comments:
Post a Comment