| Summary: | [disassembly][breakpoints] Method breakpoints cannot be created from the disassembly view | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> |
| Component: | cdt-debug-dsf | Assignee: | Project Inbox <cdt-debug-dsf-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug, nobody, pchuong |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Marc Khouzam
Toni, would you know if there is a fundamental reason why this is not done? I think it is doable. We need to get access to the CModel of the underlying file which should be possible using the information from the IDisassemblySelection. I have implemented method breakpoint for my debugger using the toggle breakpoint factory. If the toggle action is on a label line, than insert a method breakpoint from the label. You should be able to get the label from the disassembly selection, there is a new API that I put in the IDisassemblySelection to return the label. Will this work for you? (In reply to comment #3) > I have implemented method breakpoint for my debugger using the toggle > breakpoint factory. If the toggle action is on a label line, than insert a > method breakpoint from the label. You should be able to get the label from the > disassembly selection, there is a new API that I put in the > IDisassemblySelection to return the label. Will this work for you? Looks promising. I don't have time to look at it myself, right now though, but I wanted to have the bug written to keep track. |