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

Bug 342169

Summary: [disassembly] Breakpoints on external source files are not displayed
Product: [Tools] CDT Reporter: Anton Leherbauer <aleherb+eclipse>
Component: cdt-debugAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug, pawel.1.piech
Version: 7.0   
Target Milestone: 7.0.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Anton Leherbauer CLA 2011-04-07 10:25:18 EDT
Created attachment 192749 [details]
Fix

The problem is that BreakpointsAnnotationModel uses ICBreakpoint.getFileName() to get the full file path, but it returns only the basename.
Comment 1 CDT Genie CLA 2011-04-07 11:23:09 EDT
*** cdt cvs genie on behalf of aleherbau ***
Bug 342169 - [disassembly] Breakpoints on external source files are not displayed

[*] BreakpointsAnnotationModel.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/BreakpointsAnnotationModel.java?root=Tools_Project&r1=1.6&r2=1.7
Comment 2 Anton Leherbauer CLA 2011-04-08 05:19:04 EDT
Fixed in HEAD and cdt_7_0.
Comment 3 CDT Genie CLA 2011-04-08 05:23:06 EDT
*** cdt cvs genie on behalf of aleherbau ***
Bug 342169 - [disassembly] Breakpoints on external source files are not displayed

[*] BreakpointsAnnotationModel.java 1.4.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/BreakpointsAnnotationModel.java?root=Tools_Project&r1=1.4.2.1&r2=1.4.2.2