You have two Eclipse applications here
1. Target eclipse - which you've shipped to client
2. Source eclipse - source code application
Go to your eclipse:
8989 is the port number where you're remote eclipse debug service is running on.
The moment you run the above command, you will get to see "Listening for transport dt_socket at address: 8989" mesasge on the console.
1. Target eclipse - which you've shipped to client
2. Source eclipse - source code application
Step 1: Launch target eclipse in debug mode
Note: Here AppceleratorStudio is my Eclipse-based productGo to your eclipse:
$cd /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS
Then run the following command.
$./AppceleratorStudio -vmargs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8989
The moment you run the above command, you will get to see "Listening for transport dt_socket at address: 8989" mesasge on the console.
Step# 2: Launch your source eclipse.
- Select a project from the project explorer
- From toolbar debug menu, go to "Debug configurations..."
- Go to 'Remote Java Application'
- Right-click 'New'
- And provide the configuration something like below.
- Click on 'Apply' and 'Debug'
INDEED IT IS A REALLY AMAZING PAGE AND SOLUTION!
ReplyDeleteThanks a lot and God do bless you!