Skip to content

Long freeze during debugging session in eclipse / Java, #814

@lo92fr

Description

@lo92fr

Hello guys,

I was experiencing since a long time freeze in java debugging session on eclipse.
I'm working on a large opensource project (Openhab).

What I've seen so far is:

  • Freeze when displaying the stack frame in Debug window.
  • Freeze in Expression and Variables windows when browsing complex expressions,especially on one containing complex collections like Hashmap, possibly finish in displaying exceptions in this windows after several seconds (>30s) when expanding a collection tree or node.

After digging a lot on my installation, looking a lot of website talking of debugging in eclipse, and making a lot of test.
I've find find out that the culprit was the source lookup entries in my configurations.
Have to said that on my workspace, I've got several projects, with lot of java source files.
My configuration was the default one that was also listing all dependency jar files, as well as default Workspace nodes.

Image

I've change it to using Working Set, Java Main Sources.
And it is night and day.
Operation that was taking before > 30s, is now quite instantaneous, with respond time under <1s.

Image

I want to make you this feedback, because I'm using eclipse for quite some times, but the bad experience is one of the worst I've ever add with eclipse. And finally, there not a lot of ressource on internet about this issue, and possibly, I hope, you will be able to find some workaround about this.

Fill free to come back to me if you need more information to debug this issue.

Thanks,
Laurent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions