1

I'm using netbeans 8.1 to debug a web app which is deployed on weblogic server(on localhost). However, there is no high light for the current program counter so I can't know where it's stopped. If I debug a local app, it displays correctly.

Debuggin a local app:
Debugging a local app

Debugging a remote web app which is stopped at the break point:
Debugging a remote web app

Edit: I found this Bug 188844 - Highlighting lines fails in remote debugging session, but it's for PHP, I'm not sure what is "path mapping" for java + weblogic.

Resolution:
It turned out that the project source (Project Properties -> Sources) was not correctly configured. The project contains multiple sub modules thus the source path of the sub modules are incorrect. Resolution is to load the sub module as separate projects.

Leon
  • 3,124
  • 31
  • 36

0 Answers0