J2EE Remote Debug, local variables debug info unavailable

I'm running 3.0.5 aganist a locally installed apps svr (weblogic8.1 SP2). Apps Server Debug configured via: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2314.

This does allow me to step through code but does not allow me to see the values of local variables, put watches on etc. I can do this for a WebApp such as Tomcat but I just get the message "local variables debug info unavailable" against Weblogic. Should i switch to an EAP version ?

2 comments
Comment actions Permalink

Answered my own question but thought it might help others. Very silly mistake the application code that is compiled, built, deployed via 'ant' wasn't compiling with debug info enabled. Just changed the ant task <javac debug="true" and it works as you'd expect.

0
Comment actions Permalink

I am having the same problem. I tried adding the <javac debug="true" tag into ant file but I still get the same 'local variables debug info unavailable' in the debugger.

what can I do?

0

Please sign in to leave a comment.