Community
Participate
Working Groups
We can create method breakpoints when the selection is in the editor but not when the selection is in the disassembly view.
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.