Debug the ArcGIS WPS Client


This tutorial show how to debug the WPS Client for ArcGIS.


Set up ArcGIS

Run C:\Program Files (x86)\ArcGIS\Desktop10.7\bin\JavaConfigTool.exe as administrator. The path may vary on your system.

Check "Enable Debugging of Java extensions from an IDE (e.g., Eclipse)".


Click "OK" to close the dialog.

Set up the IDE

We are using Eclipse for this tutorial. Download it from here: We use the Eclipse IDE for Enterprise Java Developers for this tutorial.

Download/clone the WPS Client for ArcGIS from GitHub:

Start eclipse. Choose or create a workspace.

Now import the WPS Client for ArcGIS Maven project.

Start either from here:


Or use the menu


This will lead you to the import dialog. Choose "Maven" -> "Existing Maven Projects" and click "Next"


Now browse to the folder containing the WPS Client for ArcGIS, you should see the following:


Click "Finish" to start the import process. Click "Finish" again when the dialog below shows up and click "OK" in the confirmation dialog.


Now the project will be imported into the workspace. You should see something like the following:


Debug the client

Start ArcMap.

in Eclipse, set a breakpoint in the class in the module wps-arcmap-client-extension, e.g. in line 449:


Now open the "Run" menu and click on "Debug Configurations":


Double click on "Remote Java application". There should be default values used for "Name" and "Project". Otherwise select a name and browse to the wps-arcmap-client-extension project.

Important: Change the Port to 8013! (This needs to be the same port ad in the JavaConfigTool).

Click "Debug" to start debugging. You can ignore the following warning for now (i.e. click "Proceed"):


In ArcMap, click on "Add WPS Server" and connect to a WPS.

In Eclipse, you should now be prompted to switch to the debug perspective, as the breakpoint was hit.


Click "Switch". You now should see something like the following:


Now you are able to debug the WPS Client for ArcGIS.

Topic attachments
I Attachment Action Size Date Who Comment
JavaConfigTool.pngpng JavaConfigTool.png manage 69 K 04 Mar 2020 - 14:44 BenjaminPross  
debug-1.pngpng debug-1.png manage 661 K 04 Mar 2020 - 08:10 BenjaminPross  
debug-2.pngpng debug-2.png manage 554 K 04 Mar 2020 - 08:15 BenjaminPross  
debug-4.pngpng debug-4.png manage 751 K 04 Mar 2020 - 09:08 BenjaminPross  
import-1.1.pngpng import-1.1.png manage 94 K 04 Mar 2020 - 07:50 BenjaminPross  
import-1.pngpng import-1.png manage 102 K 04 Mar 2020 - 07:52 BenjaminPross  
import-2.pngpng import-2.png manage 81 K 04 Mar 2020 - 07:57 BenjaminPross  
import-3.pngpng import-3.png manage 149 K 04 Mar 2020 - 07:58 BenjaminPross  
import-4.pngpng import-4.png manage 84 K 04 Mar 2020 - 07:59 BenjaminPross  
import-5.pngpng import-5.png manage 218 K 04 Mar 2020 - 08:03 BenjaminPross  
question-1.pngpng question-1.png manage 69 K 04 Mar 2020 - 09:07 BenjaminPross  
warning-1.pngpng warning-1.png manage 55 K 04 Mar 2020 - 08:29 BenjaminPross  
Topic revision: r2 - 04 Mar 2020, BenjaminPross
Legal Notice | Privacy Statement

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback