-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote debugging connection establishment is slow #39
Comments
Have no idea how to read attached network snapshots. Could you provide steps to reproduce? |
No, really? Still open: could you provide steps to reproduce? That is more important as reading network dumps. |
You can reproduce this behiavour, if you try to connact over vpn with your local running eclipse to the application which is running on a server.
The same setup but with idea can connect the remote session under 1sec. Environment is: About the network dumps. You can look into the TCP stream if you follow these steps: screenshots.zip
|
I have not looked at the dumps, but just to understand what kind of breakpoints do you have? Any method exit breakpoints which can slow down? How many breakpoints are there approximately? |
Hi @SarikaSinha, there are no breakpoints. It takes time for Eclipse to create a debug connection. During debugging the speed is ok, if all monitoring stuff is disabled like described by @frandragomanovic. Unchecked all of the following options: Debug View -> Java -> Show Monitors The main problem is that the connection establishment. |
Hello all) |
Same issue seems eclipse is too slow to connect no logs or error just the connection takes too much time and even after connecting debug is too slow every steps takes time. @iloveeclipse any pointer would be helpful in code, exactly where too look for connection issue |
@SarikaSinha can you please help |
As far as I see, Eclipse uses java.net.ServerSocket to setup the connection and that should not take extra time for Eclipse alone. Can you attach the Screenshots with filtering tcp.stream eq 1 and tcp.stream eq 5 ? |
my network admin team doesn't allow me to install wireshark or tcpdump as well , if possible can we try with logs |
@SarikaSinha did we get any new build with logs , if you can provide , I can share logs |
While using remote debugging both in Eclipse and in Intellij we've noticed that connection establishment works much faster with Intellij.
Additionally there is a rather large difference between package count sent to the server in both cases:
Also, we unchecked all of the following options:
In the attachment network snapshots (with Wireshark) for both are provided.
network-snapshots.zip
Versions used:
OpenJDK Runtime Environment Zulu11.54+23-CA (build 11.0.14+9-LTS)
OpenJDK 64-Bit Server VM Zulu11.54+23-CA (build 11.0.14+9-LTS, mixed mode)
We also tried it out with the latest Eclipse (2022-03) but the behavior is the same.
Could you please tell us how could we speed this up? Is there some kind of setting which could be adjusted?
Thank you in advance!
The text was updated successfully, but these errors were encountered: