Aplicação Java com Wildfly não para nos breikpoints
Answered
Tenho uma aplicação em Java que roda no server local do wildfly.
Executa normalmente o build com os comandos clean e install do maven e gera normalmente o arquivo .ear.
Ao selecionar a opção para subir o servidor no modo debug, ele sobe normalmente. A aplicação roda normalmente, mas ao colocar um breikpoint em uma linha, ele não para a execução e passa direto.
Alguém já passou por isso?
Please sign in to leave a comment.
How did you configure the artifact for deployment? Do you use external artifact built by Maven?
If the breakpoints do not have the checkmarks in the IDE when the debugger connects to the server, it means that JVM the debugger connected to doesn't see the classes where these breakpoints are set.
There can be many reasons for that. The most common is if you connect to some wrong JVM that is not actually running your code or the sources and classes are not in sync.
To investigate further, please share a reproducible test case with the exact steps to trigger this problem on GitHub and provide a link to this project here.