Weblogic Remote Debugging in Eclipse Local variables

Discussions

EJB programming & troubleshooting: Weblogic Remote Debugging in Eclipse Local variables

  1. I am using Weblogic 8.1 server & using the jre provided by Weblogic.

    I am trying to remote debug the application using eclipse.

    The debug parameters that set in the startup class are
     -Djava.compiler=none -Xrunjdwp:server=y,transport=dt_socket,suspend=n,address=16125

    When I debug, I am able to look into the class level & static variables, but couldn't look into the local variables.

    I changed the jre in eclipse also to use the one provided by Weblogic but it doesn't make any difference.

    Can anyone please let me know what am I missing here.

    regards,
    Vishnu
  2. I didn't compile with the -g option in javac while compilation for generating the debug information.
  3. I didn't compile with the -g option in javac while compilation for generating the debug information.
    I'm having the same problem with local variables not being shown. I'm using Ant to compile my code and a verbose output shows [javac] '-g:lines, vars, source' So I know that debugging flags are getting passed to javac. Any ideas?