| Summary: | Breakpoint not visible after file refresh | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | alcolo47-sourceforge <alcolo47-sourceforge> |
| Component: | cdt-editor | Assignee: | Project Inbox <cdt-editor-inbox> |
| Status: | ASSIGNED --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | minor | ||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug, pawel.1.piech |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
alcolo47-sourceforge@yahoo.fr
Interesting problem. The reason is that cdt.ui does not rely on an IAnnotationModelFactory to create the annotation model (like e.g. JDT). Thus the annotations don't get reinitialized after a revert in ResourceTextFileBuffer.handleFileContentChanged(). On the other hand we cannot simply follow JDT here because cdt.debug.ui uses an IAnnotationModelFactory to create the DebugMarkerAnnotationModel (for external files) which would get in conflict with the factory from cdt.ui. |