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

Bug 350703

Summary: Function break-point and source path
Product: [Tools] CDT Reporter: Shaiju P <shaijupnairp>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: cdtdoug, pawel.1.piech, shaijupnairp
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Function break-point patch none

Description Shaiju P CLA 2011-06-29 08:58:32 EDT
Build Identifier:  I20110613-1736

While implementing function break point feature for our product I noticed that DSF's MIBreakpointsManager class is not planting function break-point if it cannot find a source path associated with the CFunctionBreakpoint object.

Since function break-point can be planted without the need of source file information I feel that the check can be avoided for CFunctionBreakpoint object too just like for ICAddressBreakpoint

A small change in the installBreakpoint method of MIBreakpointsManager  will fix this issue




Reproducible: Always

Steps to Reproduce:
At present  there is no way to hit this case in cdt since method break-points are created by right clicking on source out line , which will always have source information
Comment 1 Shaiju P CLA 2011-06-29 09:06:06 EDT
Created attachment 198825 [details]
Function break-point patch