← Back to team overview

dhis2-devs team mailing list archive

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

 

Hi Dehan,

this tutorial might help:

https://www.dhis2.org/tutorials/debugging-java-code-in-eclipse

regards,

Lars


On Mon, Jun 27, 2016 at 10:27 AM, Dehan De Croos <dehandecroos@xxxxxxxxx>
wrote:

> 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*
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups

References