AnsweredAssumed Answered

Debugging alfresco project within eclipse(urgent)

Question asked by biswajit on Jul 20, 2009
Latest reply on Jul 21, 2009 by biswajit
Hi,
I am new in alfresco.Please tell the total steps to debug alfresco sdk in eclipse.I was following the steps but after start it shows 404 error.
# If you have not already done so, set a breakpoint somewhere in your code (preferably something not associated with startup) by left-clicking to the left of a line of code.
# Under the "Run" menu, select the "External Tools" sub-menu, then the "External Tools" heading.
# On the dialog that appears, single-click the "Program" heading, then click the "New" icon (a page with a plus on it).
# Change the Name to something meaningful, like "Sakai 2.4".
# Under "Location", enter full path and filename for your catalina script (catalina.sh on UNIX, catalina.bat on Windows).
# Under "Working Directory" to the location of your tomcat installation.
# Under "Arguments", enter "jpda start".

    * NOTE: If you use "jdpa run" rather than "jpda start", Tomcat will not open a new window to start in and will instead give you all it's standard err and standard out in the Eclipse console window. This is usefull for Windows developers who don't like to read console output from a DOS window.

# Go to the "Environment" tab.
# Click "New" and enter "JPDA_ADDRESS" as the name and "8000" as the value, then hit "OK".
# Click "New" again and enter "JPDA_TRANSPORT" as the name and "dt_socket" as the value, then hit "OK".
# Click "New" again and enter "JAVA_OPTS" as the name and "-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true" as the value, then hit "OK".
# Open the "Common" tab.
# Check the box marked "External Tools" in the panel marked "Display in favorites menu".
# Check the box marked "Launch in background".
# Hit "Apply" to save your changes.
# Hit "Run" to test your configuration.

Please help me .Its urgent.

Outcomes