eclipse-jdt / eclipse-jdt/eclipse.jdt.debug
Remote debugging connection establishment is slow
- Dominant language
- Java
- Stars
- 23
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Description
While using remote debugging both in Eclipse and in Intellij we've noticed that connection establishment works much faster with Intellij.
- Eclipse: ~30sec
- Intellij Idea: less then 1sec
Additionally there is a rather large difference between package count sent to the server in both cases:
- Eclipse: 2849
- Intellij Idea: 20
Also, we unchecked all of the following options:
- Debug View -> Java -> Show Monitors
- Debug View -> Java -> Show Running Threads
- Debug View -> Java -> Show System Threads
- Debug View -> Java -> Show Qualified Names
- Debug View -> Java -> Show Thread Groups
In the attachment network snapshots (with Wireshark) for both are provided.
[network-snapshots.zip](https://github.com/eclipse-jdt/eclipse.jdt.debug/files/8611244/network-snapshots.zip)
Versions used:
- **Eclipse**: 2021-09 (4.21.0), Build id: 20210910-1417
- **Java**: openjdk 11.0.14 2022-01-18 LTS
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!
Contributor guide
Assessment
This issue has not been assessed yet.