Skip to content

03. Debugging OrbisGIS with maven

Bocher edited this page Mar 9, 2018 · 1 revision

Run this command in orbisgis-dist project:

mvn clean install exec:exec -Dexec.args="-classpath %classpath -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6666 org.orbisgis.framework.Main --nofailmode"

In NetBeans attach to the debug server you just started:

NetBeans remote debug NetBeans remote debug

Load your plugin in OrbisGIS (from your target folder). You will be able to set breakpoint in NetBeans and debug line by line.

NetBeans remote debug