I have a number of branches checked out from the same project in Eclipse.E.g Project_2009, Project_2015, Project_2016.

When I profile something in Project_2016, and press Open in IDE,my impression is that the source I see is from the first lexicography checkout that contains that file. In my case a branch from 2009, which is way old.

Sometimes that file has not changed and I continue to followreferences in eclipse, only to at one point find out it wasthe wrong project to start with. Really annoying.

I have 9 feature branches open in eclipse.Would that mean Yourkit would open 9 editors/files? (given in the file is common in all 9).That would be really annoying too.It is clearly possible to this correct, as I never have this problem when using jprofiler.

Passing the project name will clearly solve the issue. However, this approach is only applicable if the profiled application is launched from within Eclipse, thus we can attribute the running JVM and its snapshots with the project name. This won't work for standalone applications, or for snapshots received from other users or machines.

The manual approach when the user is explicitly asked to choose the project to open when doing "Open in IDE" will cover both cases.

Do you use the "Profile" action for different projects/branches? If you constantly switch between them, the manual approach may be error prone.

We've finally decided to implement the proposed change such that the target project will be selected automatically on "Open in IDE", by using the project name associated with the profiling results. This will work without any additional user input for profiled applications started from within Eclipse, as well as for their snapshots thus supporting team work.

The change is relatively big thus it will go to the next major version, and will not be backported to v2016.02.

When the first EAP build of the next version is published, please give it a try. If we find that the proposed automatic solution is not enough, we'll reconsider other additional options such as providing users with means for manual project selection.