Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Hardware breakpoint support in CDT

I think this is too specific to change in general UI.
You can use breakpoint extension mechanism to add more attributes, such 
as hardware breakpoint flag.
To create them you have to create your own UI because current ui 
mechanism, such as double click on source like does not allow to change 
attributes. To change this property you contribute property page, from 
there you can implement a call that would re-set breakpoint from 
software to hardware.


Jiju George T. wrote:
>
> Hi All,
>
>    We are developing an embedded debugger based on Eclipse and CDT. I 
> am trying to add hardware breakpoints support. When I checked CDT CDI 
> model, I could see that ICDIBreakpoint interface already supports 
> hardware breakpoints. But CDT core classes like CBreakpoint , 
> CBreakpointManager , CDIDebugModel  etc and UI does not provide any 
> mechanism to create an ICDIBreakpoint of type ICDIBreakpoint.HARDWARE.
>
>    When I searched CDT news groups and bugzilla, I came across below 
> enhancement request to add hardware breakpoint support to CDT CDI 
> model and UI.
>
>              https://bugs.eclipse.org/bugs/show_bug.cgi?id=118100
>
>    Patches to add hardware breakpoint support in UI and model are 
> available in the above. Any idea on why this enhancement is on hold? 
> Is it because decision on a better UI for adding Toggle Hardware 
> breakpoints has not yet taken? If so then is there any possibility of 
> committing the CDI model related changes and leaving UI decision to 
> users? This will allow vendors to decide on the UI for hardware 
> breakpoint and use CDT plugins without applying any local patches for 
> adding hardware breakpoint support to CDI model.
>
> Thanks,
>
> Jiju George
>
>   
>


Back to the top