[JBoss] java GWT server debugging on breakpoint not working

Discussão em 'StackOverflow' iniciado por Stack, Setembro 29, 2024.

  1. Stack

    Stack Membro Participativo

    I am new to GWT/sencha GXT and java programming. I received an application which contains server side and client side. They are both in java and there are both maven projects with pom.xml file in each one.

    The client side is using GWT and sencha GXT.

    The server side is using hibernate for JPA, Jboss wildfly as an application server.

    I am using Netbeans as IDE.

    I am able to run application super dev mode and I am able to debug the client side in the browser via debugger.

    However the application does not break/catch none of the breakpoints which I put in the IDE. And I need to debug the server code.

    I have tried to add Logger but nothing is shown. I can't see what I put in the logger in the IDE console. I also tried to configure Log4j.properties, nothing is also displayed.


    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.Target=System.out
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

    My question is does any has an idea on how I can make the application stop on the breakpoint? and also make logs display in the IDE console?

    Continue reading...

Compartilhe esta Página