Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342169 - [disassembly] Breakpoints on external source files are not displayed
Summary: [disassembly] Breakpoints on external source files are not displayed
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.0.3   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 10:25 EDT by Anton Leherbauer CLA
Modified: 2011-04-08 05:23 EDT (History)
2 users (show)

See Also:


Attachments
Fix (1.92 KB, application/octet-stream)
2011-04-07 10:25 EDT, Anton Leherbauer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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