A few days later I received a decision on my transaction.
First of all, I created a new .bat file containing the following code:
java -Xdebug -Xrunjdwp: transport = dt_socket, server = y, suspend = y, address = 1044 -mx40M Insert lopez.bmp lopez.jpg -c "" -e bin.noise -p pleasechangethispassphrasetoyourown
This file allows me to remotely debug my application.
After that, in eclipse, I configured the launch of my .bat file, for this I used the external settings of the tools, and then in the optional program I created a new launch setting. In this window, in the location parameter, I entered the path to my new .bat file, and in the option working directory I entered the path to the folder containing my project. Now we can run this configuration, if everything is in order in the eclipse console, the following message is displayed:
Listening to the dt_socket transport at: 1044
Next, in the debug configuration option, select the remote java application option and create a new one. In the settings of this window, simply change the options port to 1044.
And thatโs all.
source share