2010-01-01 12 views

risposta

9

1) Specificare questa opzione sulla JVM remota.

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 

Si noti che ora il server di debug è in esecuzione a questo host remoto e la porta 5005.

2) In Eclipse, creare ed eseguire config debug remoto sotto Run > Debug> Debug Configurations... > Remote Java Application.

Problemi correlati