| Summary: | Debug performance is very poor with Ivy | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Alex X <a701440> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sarika.sinha |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | stalebug | ||
|
Description
Alex X
Can you please provide the steps for setup and to reproduce the slow performance. It's hard to say what the exact reason for the problem. The workspace is very large ~100 of projects. The dependencies between the projects and between projects and third-party jars are managed using Ivy and IvyDE plugin is used. The app JVM runs on local machine and attaching to a port on localhost is used to start debugging. When trying to step the first time a breakpoint is hit Eclipse enters into a very long process of looking up something using Ivy (as shown by the call-stack). Some information such as looking at the values of the local variables is available immediately, but stepping requires waiting for this process to finish which may take up to several minutes in our environment. There is obviously local Ivy cache, the drive is SSD, etc. This process repeats if you detach from the JVM and attach again. Which is a bummer since nothing in Ivy changes... Can you provide the steps to setup Ivy with Eclipse and a sample project which usses a kind of code which is similar to your problem. Without all this it will difficult to proceed. It may be hard to setup and requires large number of Ivy dependencies. I guess the point is visible from the call-stack in the original message. When debugger is attached to a process and break-point is hit it tries to lookup the location of the source code. I assume "JavaDebugUtils.doSourceLookup" is a part of that process. You can see in the call-stack that this triggers Ivy resolve process that can take fairly long time. Ivy resolve has been already done before the debugging session was started, so there should be no need to do this really. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |