JBoss Community

Debugging EJBs local variables not resolved

created by Hans-Michael Rupp in JBoss Tools - View the full discussion

JBoss 6 M5, JBoss Developer Studio 3.0 GA

 

I am trying to debug an EJB application.

I start the server with

 

set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%

 

I have a Debug configuration :

Connection Type: Standard (Socket Attach)

Host: localhost

Port 8787

 

When I set breakpoints in EJBs and run this configuration, the application stops at the breakpoint

BUT

in EJBs no local variables are displayed, only instance variables and the method arguments (named arg1 ... argn).

When I try to add a local variable to the Expressions it cannot be resolved.

 

Any ideas how this problem could be solved would be welcome.

 

Hans

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community