How to set debug parameters for atg2007.1 for eclipse?

View: New views
4 Messages — Rating Filter:   Alert me  

How to set debug parameters for atg2007.1 for eclipse?

by RJ. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How to set debug parameters for atg2007.1 to debug through eclipse?

Re: How to set debug parameters for atg2007.1 for eclipse?

by george_o :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is a straight up Java configuration issue. All you need are the Java arguments to enable the JVM to listen for connections from remote agents. On JBoss, you edit your run.bat (assuming you are on Windows) and add the following line:

set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=3000,server=y,suspend=n %JAVA_OPTS%

Edit the port number to whatever you wish and make sure you use that when connecting via Eclipse.

- George

Re: How to set debug parameters for atg2007.1 for eclipse?

by RJ. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i am using jboss actually. I tried initially that but it was not working. Then i modified run.bat and it was JAVA_OPTS inside it which I modified and it started debugging.

Re: How to set debug parameters for atg2007.1 for eclipse?

by george_o :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A common thing is that people make changes to run.conf on Windows, but that isn't used (except on Unix systems), hence you have to make the changes to the batch file. Not sure if that is what you saw, but putting it out there in case anyone else makes that mistake.

- George