IntelliJ IDEA: debug issue while debugging a JEE application
I am remote debugging a Web + JEE application (*.ear) deployed to Oracle Weblogic 12.2.1.4 server. My IntelliJ IDEA version is ULTIMATE 2020.1.
First, the application execution stops as the breakpoint is reached and I can see everything in the IDE debug view. Good. Then when I finished with the check (max 5 mins), I stop the debugger and the application continue to run as usual.
In the next round, I start the debugger again, hit the same button on the user interface as before. I can see in the web browser that the app is blocked in the same way as before, but IntelliJ does not show anything, the debug view is not active. When I disconnect from the server (stop the debugger), the app continues.
I tried the Invalidate cache AND restart many times, did not help (this is a huge project, the re-indexing takes ~5 mins). The only way how I can see again the staff in the debug view is to restart the managed WebLogic server, where the app runs. Then IntelliJ stops on the breakpoint and shows the content. Then in the next time, the same happens. UI is blocked, but IntelliJ does not show anything. Only WL managed server restart solves the issue.
I faced exactly the same behavior before when I worked with a different company, in a different country. The only common thing was that I have tried to debug an app, deployed on WebLogic.
What I am planning to do is to download Eclipse and see how the remote debug works with the same server environment.
Any idea why this happens again and again?
请先登录再写评论。
Hi Arnold Somogyi, can you please collect diagnostic data after restarting the IDE and reproducing the problem? (Help | Collect Logs and Diagnostic Data)
A short screencast also would be helpful to fully understand the problem.
The files can be uploaded at https://uploads.jetbrains.com . (do not forget to specify the UploadID)
Sure. I will do it soon. I will prepare some screenshots as well. Please, handle the content I will upload as confidential content. Thx.