Dec 11

How to Set Up Remote-Debugging in Idiom WS with Eclipse

Category: Idiom WorldServer

How to Set Up Remote-Debugging in Idiom WS with Eclipse

Where to download Eclipse: http://www.eclipse.org/downloads/

Here are two common ways to achieve this:

1. Using Eclipse Plugin

1. Download Eclipse Tomcat plugin (Sysdeo/SQLI Eclipse Tomcat Launcher plugin):

http://www.eclipsetotale.com/tomcatPlugin.html#A3

2. Unzip and copy it to your Eclipse plugin directory: e.g. C:\eclipse\plugin

3. Start Eclipse.

You should see your Tomcat icons on your menu bar.

4. Start Tomcat

5. Click Debug.

6. Login to Idiom WS and make Idiom load your java code that you are trying
to debug.

Make sure to set some breakpoints.

7. You should see your debugger stops at the breakpoints.

 

2. Using JPDA

1. Stop Idiom App server

2. Open startWS.bat file.

e.g. if you installed Idiom in C:\Idiom, it is in C:\Idiom\svc\startWS.bat

3. Replace the line:

net start IdiomRun

With:

cd C:\Idiom\tomcat\bin

set JPDA_TRANSPORT=dt_socket

set JPDA_ADDRESS=8000

catalina.bat jpda start

4. Start tomcat by clicking on the startWS.bat

5. Open you project with Eclipse

6. Run -> Debug…

7. Configure Remote Java Application. The port should be same as “set JPDA_ADDRESS=8000″
that you specified in the startWS.bat.

8. Click Debug.

9. Login to Idiom WS and make Idiom load your java code that you are trying
to debug.

Make sure to set some breakpoints.

10. You should see your debugger stops at the breakpoints.

No Comments

Leave a comment