Skip to content
objectiser edited this page Nov 26, 2014 · 1 revision

The RTGov UI uses GWT and Errai. To debug the UI we will be using the GWT Super Dev Mode.

  • Ensure that the UI war to be debugged has been deployed to the app server

  • Use the gwt-maven-plugin to start the codeserver using the mvn gwt:run-codeserver command from the ui/overlord-rtgov-ui-base folder.

  • Open your browser (Chrome) to localhost:9876 and copy the "Dev Mode On" bookmark somewhere

  • Open your browser (Chrome) to the RTGov UI (i.e. localhost:8080/rtgov-ui)

  • Click the "Dev Mode On" book mark. It should prompt you with a white box on the page. Click the "Compile" button

The debugger in the browser will have access to the Java code through source maps, to enable you to set breakpoints.

Clone this wiki locally