Navigation |

July 18, 2008

Debugging Tomcat as an External Tool from Eclipse

You can also configure Eclipse to be able to start and stop tomcat as a program (this approach also seems to work well on Windows). To configure Eclipse to be able to start and stop tomcat:

If you have not already done so, set a breakpoint somewhere in your code (preferably something not associated with startup) [...]

Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet

Setting Up Tomcat For Remote Debugging

To configure tomcat to allow remote debugging, start tomcat using the catalina startup script (from your tomcat home) instead of the normal startup script like so (tomcat must be stopped before you can change over):
WIN:
set JPDA_ADDRESS=8000set JPDA_TRANSPORT=dt_socketbin/catalina.bat jpda start
UNIX:
export JPDA_ADDRESS=8000export JPDA_TRANSPORT=dt_socketbin/catalina.sh jpda start
We recommend adding this stuff to your startup script so that you are [...]

Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet

January 22, 2008

DebugView for Windows

By Mark Russinovich
DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don’t need a debugger to catch the debug output your applications or device drivers [...]

Filed by Paul Gu at January 22nd, 2008 under Dot Net
No comments on this post yet