Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 43342 - Suggestion for smarter source look up when stopping at breakpoint
Summary: Suggestion for smarter source look up when stopping at breakpoint
Status: RESOLVED DUPLICATE of bug 65164
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 05:51 EDT by Dani Megert CLA
Modified: 2005-07-07 00:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2003-09-19 05:51:17 EDT
I20030916

Scenario:
I added a breakpoint (==> marker) to A.java in project A. When running my
program it stopped but then asked me which file to open since there was another
B/A.java in my workspace. Why showing that dialog if it is clear that only
A/A.java has a breakpoint marker while B/A.java hasn't?

Couldn't we make source look up for breakpoints in *.java files smarter?

I understand that this (i.e. breakpoint) is a special case but it would be nice
this case would be better supported.
Comment 1 Darin Wright CLA 2003-09-23 16:22:23 EDT
Just a question - are both A.java's on your buildpath? What type of launch 
config/source locator was involved (i.e. was it a runtime workbench, a custom 
source lookup path, etc)?
Comment 2 Dani Megert CLA 2003-09-24 04:29:42 EDT
>are both A.java's on your buildpath?
yes

What type of launch config/source locator was involved (i.e. was it a runtime
workbench, a custom source lookup path, etc)?
default runtime-workbench
Comment 3 Darin Wright CLA 2003-09-24 09:17:12 EDT
Ah- I guess since each plug-in has their own classloader, this will still work. 
I.e. plug-in ONE will find it's A, and plug-in TWO will find it's A.
Comment 4 Darin Wright CLA 2003-10-01 10:56:53 EDT
Deferred
Comment 5 Darin Wright CLA 2005-07-06 15:31:33 EDT
This is actually a PDE issue (and might be a dup of an existing bug). I think 
PDE was investigating source lookup based on runtime bundle information which 
would solve the problem.
Comment 6 Darin Wright CLA 2005-07-06 15:31:54 EDT
moving to PDE for comment.
Comment 7 Wassim Melhem CLA 2005-07-07 00:12:42 EDT
we're using bug 65164 to track ideas/progress on a revolutionary source lookup 
for PDE.

*** This bug has been marked as a duplicate of 65164 ***