I have an RMI application that have multiple Peers. I wish to make use of Eclipse IDE to debug it (setting breakpoint etc.). How to running multiple Peers at the same time while be able to setting breakpoint? Thanks.
Currently I am using windows 7 command line, open multiple command line windows, and test multiple Peers a the same time. (of course we need to start rmiregistry using the command line windows before testing)
I am open to other IDE that can better debug these types of application.
I think you should start your applications with option: -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y
thus the applications can stop to wait for the connection and then you can use IDE to do remote debug.