Java remote debugging on linux target using Eclipse or otherwise -
Can someone tell me a good way to remote debugging on Java on Linux targets?
What I'm doing After some methods of creating my Java project, deploy to target and then debug on target I know that the goal of starting a jar running with the Java debug flag Can debug on eg.
java -xdebug -xrunjdwp: transport = dt_socket, address = 8001, server = y suspend = y -jar stockTradingGUI jar
but I do not know How to trigger the deployment of a jar made to target and walk in the debug mode via ELIPS.
Do anyone have any ideas?
Thanks
eclipse with oneself Generally, the target will not try to deploy the jar and it will be run in debug mode. Instead, after deploying a newly created jar, the remote debugging session will start in a Eclipse and it will allow it to connect remotely with several debug / suspended flag.
There are several ways to deploy.
The easiest to do is to create a regular in Eclipse (or ant on the command line or whatever device you are using Are being used), manually start the app using scp in the jar at the remote location, and in the ssh box and using the required app
If you are using gradrate , it has some tools like cargo which will help with remote deployment or in simple use cases. Can, ssh plugin and things to manage more directly (see for more information).
Edit in response to comments from OP:
I did not use Remote System Explorer , but it seems It may be somewhat (see service and substream layers), although fundamentally it is still UI-centric.
In the case of such use I look at other grade because it focuses on the building, is very expandable, and integrated into Eclipse Can run completely on the command line
Comments
Post a Comment