Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321780

Summary: External File CEditor doesn't not display custom breakpoint
Product: [Tools] CDT Reporter: Patrick Chuong <pchuong>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: aleherb+eclipse, pawel.1.piech
Version: 7.0   
Target Milestone: 7.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Patrick Chuong CLA 2010-08-04 15:05:28 EDT
Build Identifier: 201006141710

I have a custom debugger that creates non-CBreakpoint, for source file that exist in the workspace, the breakpoint shows up in the annotation margin. However, for external source file, the breakpoint doesn't show up. I was able to workaround the issue by setting the ICBreakpoint.SOURCE_HANDLE attribute in the marker. But once the file is close and reopen, the breakpoint is not visible. The reason is that during the catchup routine, it request for breakpoints that belong to CDebug model.

It would be very helpful if the CEditor can suppot non-CBreakpoint for external source files.

Is this something that is acceptable? I can work on a patch.

Reproducible: Always
Comment 1 Anton Leherbauer CLA 2010-08-09 06:36:06 EDT
This has been fixed recently together with bug 316905.