Debug
From Null-pointer
If not running tomcat from with-in Eclipse
Tomcat
Start tomcat in debug mode:
catalina jpda start
setenv.bat
SET JPDA_ADDRESS=8000 SET JPDA_TRANSPORT=dt_socket SET JAVA_OPTS=-Xmx1024M -XX:MaxPermSize=128m
Eclipse
- Debug configurations
- New: Remote Java Connection
- Connection Type: Standard (Socket Attach)
- Host: localhost
- Port: 8000

