Bug 336857 - Need to remember and reuse the source lookup choice
Summary: Need to remember and reuse the source lookup choice
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-02-10 13:25 EST by Xuan Chen CLA
Modified: 2014-02-04 23:44 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuan Chen CLA 2011-02-10 13:25:02 EST
When launch a debug session, specified two paths which both included the source file for the program.
Checked the checkbox for Search for duplicate source files on the path.
When debug session started, it prompted to choose which source should be used as the source. Selected one.
Stepped several times, and no dialog came up asking for which source to pick.
Selected another stack frame from the call stack, and then selected the top stack frame again.  Debugger prompted to ask for choose which source file to use again.

Since I've already choose which source I used for this stack frame, debugger shouldn't ask me again.
Comment 1 Sarika Sinha CLA 2014-01-29 02:22:40 EST
Xuan,
I am not able to reproduce this issue in the latest eclipse. If you are still able to reproduce this issue, the sample project will help.

But I observed a different issue. If we instantiate and invoke a method from a class having duplicate sources from the main class, the dialog to select the source comes once but if we do this activity in a method of different class, the dialog is prompted twice.
Comment 2 Sarika Sinha CLA 2014-01-29 04:18:47 EST
(In reply to Sarika Sinha from comment #1)
> Xuan,
> I am not able to reproduce this issue in the latest eclipse. If you are
> still able to reproduce this issue, the sample project will help.
> 
> But I observed a different issue. If we instantiate and invoke a method from
> a class having duplicate sources from the main class, the dialog to select
> the source comes once but if we do this activity in a method of different
> class, the dialog is prompted twice.

The issue i observed has been reported and discussed in bug 327497
Comment 3 Michael Rennie CLA 2014-02-04 23:44:12 EST
Closing worksforme without more information - since the other issue is covered by bug 327497