cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Alfresco

bjoern
Champ in-the-making
Champ in-the-making
Hi,

i downloaded and build alfresco with out problems.

now i want to debug it…
what is the best way of debugging it ? I want to use eclipse, but how do i get eclipse to debug the alfresco ?
I built alfresco from the cmd.
Where do i find detailed instructions how to build alfresco with ant from inside eclipse ?

Thanx for your help…

Cheers Bjoern
2 REPLIES 2

tfornoville
Champ in-the-making
Champ in-the-making
We debug Alfresco by adding a couple of options in the alfresco.bat file


set DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n
set JAVA_OPTS=-Xms128m -Xmx512m -Xss64k %DEBUG% -server

Then in Eclipse you can create run/debug configuration with the correct host and port (=4000 in our example) that connects to the running tomcat instance.

Cheers,
Tom

bjoern
Champ in-the-making
Champ in-the-making
thanx, that did work.
now i decided to use MyEclipse, which works also fine for me…