← Back to team overview

dhis2-devs team mailing list archive

[GSOC] Getting the back end to hit a debug break point.

 

Hi DHIS2,

I am currently working with Mark Polak on a project improve the initial
rendering of DHIS2 apps performance buy pre rendering the content in the
back end for better UX.

I am currently trying to get IntellJ to hit a break point in the back end
to better understand the flow of the back end AppController
<http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AppController.java#L161>.
Currently I got the app to run with a simple jetty:run war. This does not
allow me to debug the app. Then I tried setting MavenOpts and set up remote
debugging in intellij. But even though the socket connection was successful
it did not hit the break point.

Is there a way to get DHIS2 web/api to get it to hit a break point inside
IntelliJ Idea or Eclipse for that matter.

Thanks for the help in advance :).

P.S. I have currently successfully built the back end and set it up with
the skeleton-app as well.

best regards,
*Dehan de Croos*

Follow ups