Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] How to handle breakpoint notification?

Thank you Darin.

Filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=324093


-----Original Message-----
From: platform-debug-dev-bounces@xxxxxxxxxxx [mailto:platform-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Darin Wright
Sent: Monday, August 30, 2010 9:37 AM
To: Eclipse Platform Debug component developers list.
Subject: Re: [platform-debug-dev] How to handle breakpoint notification?

> 
> I have targets that are not able to modify (delete) the breakpoint 
> state while it is running, I am not sure what the best way to handle
> this is and any suggestion will be greatly appreciated.
> 
> I know that I can halt the target before applying the change to the 
> breakpoint, but this intrusiveness will cause undesired expectation 
> for the user, i.e cache flushed, and missing interrupt, etc.... I also
> tried caching the requests from the platform breakpoint manager, 
> such as Breakpoint Manager Enablement event and remove breakpoint 
> event, etc... However this is not the best, because state is not 
> consistent between the UI and what is on the target.
> 
> I think the ideal solution for my case is to be able to disable the 
> breakpoint manager (view) actions and this will prevent the user 
> from changing the breakpoint state when not possible.  I don't see 
> disabling the actions is possible with the current API, if some one 
> know a better way of handling this issue, please let me know.
> 

Currently there is no API to control the enablement of breakpoint 
actions/operations (i.e. like #canInstall(), #canEnable(), etc.). Perhaps 
you need function similar to this (like what is done for other operations 
such as suspend/resume, etc). I would suggest to open a feature request 
for this.

Darin

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev


Back to the top