Bug 125768

Summary: [breakpoints] breakpoint in external source do not appear in ruler
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P4 CC: daniel_megert, david.perez.ingeniero, digulla, igor, jeffmcaffer, lysathor, markus.kell.r, Michael_Rennie, pawel.pogorzelski1
Version: 3.2Keywords: polish
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 289119    

Description Darin Wright CLA 2006-01-30 16:58:40 EST
Now that the ruler is present for external files, and we can set breakpoints in external source (fix for bug 120170 is in HEAD), the breakpoints do not appear in the veritcal ruler.

Dani, is there some way for us to associate markers with "external files"?
Comment 1 Dani Megert CLA 2006-01-31 03:24:04 EST
>Dani, is there some way for us to associate markers with "external files"?
No, since the Platform didn't open this up when they introduced 'org.eclipse.core.filesystem' i.e. a marker must still be associated with an IResource, see bug 2869.

Platform Text doesn't plan to add this support since it really doesn't belong there. If Debug decides that it can manage breakpoints for external files then  you have to
- decide where/how to persist them
- convert them into annotations and copy them into the editor's annotation model
  when the editor is opened or the content reverted.
- updated the annotation model whenever an external breakpoint is add/removed
Comment 2 Darin Wright CLA 2006-02-01 15:42:07 EST
Time permitting. Would have to manage the annotations ourselves.
Comment 3 Darin Wright CLA 2006-04-17 15:41:08 EDT
Deferred
Comment 4 Darin Wright CLA 2006-06-22 12:24:46 EDT
*** Bug 54848 has been marked as a duplicate of this bug. ***
Comment 5 Darin Wright CLA 2007-05-09 12:44:19 EDT
As well, breakpoints in external files do not open the external file when double-clicked in the breakpoints view. We will need to keep track of the external file's URI in order to do this. Currently (3.3RC1), the "go to file" action is disabled for external breakpoints.
Comment 6 Darin Wright CLA 2008-08-18 09:11:21 EDT
*** Bug 242229 has been marked as a duplicate of this bug. ***
Comment 7 Michael Rennie CLA 2009-06-08 11:14:55 EDT
reopening...
Comment 8 Michael Rennie CLA 2009-06-08 11:30:13 EDT
*** Bug 264099 has been marked as a duplicate of this bug. ***
Comment 9 Markus Keller CLA 2009-08-10 10:34:38 EDT
*** Bug 284994 has been marked as a duplicate of this bug. ***
Comment 10 Michael Rennie CLA 2011-06-08 10:02:20 EDT
*** Bug 322625 has been marked as a duplicate of this bug. ***
Comment 11 Aaron Digulla CLA 2011-06-08 11:28:30 EDT
> Is this still a problem in 3.7?

I haven't switched to 3.7, yet.

For those interested, duplicate Bug 322625 contains a good explanation how to reproduce it plus a screen shot.
Comment 12 Michael Rennie CLA 2013-12-06 11:45:26 EST
*** Bug 291302 has been marked as a duplicate of this bug. ***