How to set up the debugging configuration in Eclipse?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   annie_g
Posted On:   Tuesday, December 5, 2006 11:57 AM

Hi,

Trying to debug an application in Eclipse. If I run the application from command line, it would be run as:




c:/j2sdk1.4.2/bin/java -Xms128m -Xmx256m -classpath %CLASSPATH% -Djava.rmi.server.codebase=file:/%MYCLASSPATH% -Djava.security.policy=%MYCLASSPATH%server.policy com.bas.server.HubServer --host localhost:1500 start &


How should I configurate the eclipse debugger in this case? Thanks!



Annie

Re: How to set up the debugging configuration in Eclipse?

Posted By:   piyush_nahata  
Posted On:   Monday, December 25, 2006 05:08 PM



Hi,
In the Navigator, under your projects, right click on the file
containing the "main", choose "debug as", and then "debug".

This would open up a window.

Under the tab arguments, specify all your commandline
arguments and you are ready to go.

Click on debug to start the application in debug mode.

Hope that helps,

Regards,
Piyush

About | Sitemap | Contact