Posts

Showing posts from March, 2014

Remote Debugging the TC Server

Enabling Remote Debugging on TC server is Quite simple. Step 1: Enable remote debugging on the server and restart the server. Open setenv.bat (or .sh) in any text editor.File can be found at path-vmware-tc-sever\bin\setenv.bat. add these arguments to JVM_DEBUG_OPTS set JVM_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8003,server=y,suspend=n Add %JVM_DEBUG_OPTS%  to JAVA_OPTS Eg:  JVM_OPTS=%GENERAL_JVM_OPTS% %SUN_JVM_OPTS% %JVM_DEBUG_OPTS% After making the above changes Step 2: Run this command and make sure the server is listening # fuser 8003/tcp         O/p   -- 8003/tcp:            21057  ls -l /proc/21057/exe  --   O/P -lrwxrwxrwx 1 root root 0 Mar  6 11:08 /proc/21057/exe -> /usr/java/jdk1.7.0_40/bin/java. Step 3: Enable the remote Debugging in Eclipse go to your eclipse Menu --> Run --> Debug Configuration Left Panel, double click...