Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350703 - Function break-point and source path
Summary: Function break-point and source path
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 08:58 EDT by Shaiju P CLA
Modified: 2020-09-04 15:25 EDT (History)
3 users (show)

See Also:


Attachments
Function break-point patch (1.65 KB, patch)
2011-06-29 09:06 EDT, Shaiju P CLA
no flags Details | Diff

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