Bug 15568 - Watchpoints, method breakpoints in interesting locations not showing in editor ruler
Summary: Watchpoints, method breakpoints in interesting locations not showing in edito...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-08 14:30 EDT by Darin Swanson CLA
Modified: 2002-05-14 10:19 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 Darin Swanson CLA 2002-05-08 14:30:07 EDT
In java.lang.String, place a watchpoint on "serialVersionUID" in the private 
static CaseInsensitiveComparator class when you have open the source on the 
class String.  The watchpoint does not show in the editor ruler.

If you open the type CaseInsensitiveComparator, and add the watchpoint, the 
breakpoint shows in the ruler.
Comment 1 Darin Swanson CLA 2002-05-08 14:31:37 EDT
Same situation for method breakpoints.
Comment 2 Darin Wright CLA 2002-05-09 20:47:14 EDT
Moving to JUI - the marker annotation model & ruler lives there.
Comment 3 Darin Wright CLA 2002-05-09 20:47:49 EDT
More clarification - a watchpoint or method breakpoint on an inner class does 
not appear in the ruler in the top-level class.
Comment 4 Erich Gamma CLA 2002-05-11 06:45:42 EDT
even more clarification:
* methodbreakpoint show up properly in methods of the 
  top level type, but not in methods of inner types.
* when opening the inner type in its own editor using F3 then the breakpoint 
shows up properly.

When the editor tests for affected markers it only tests the class file that is 
its input. It doesn't test against inner classes. The test is done using the 
JDT Core provided method JavaCore.getJavaCore().isReferencedBy(). This method 
would have to handle this case. - on to JDT CORE
Comment 5 Philipe Mulet CLA 2002-05-14 10:19:31 EDT
JavaCore#isReferencedBy APIs are now able to cycle through enclosing types as 
well.

Fixed