Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
start tomcat using the following command
$CATALINA_HOME/bin/catalina.sh jpda start
then in Eclipse, Click Debug->Debug Configurations
Image Modified
Add a new Remote Java Application, and put in the IP and port. The defaults will work (localhost 8000) in a simple development environment.
Switch the to debug perspective, you can see the threads, and you can set breakpoints by dbl clicking line numbers. When the code is executed Eclipse will alert you. You can then step code, inspect variables, etc
Image Modified
Page Tree | ||||
---|---|---|---|---|
|