Hi Mikhail –
>> Not sure I understand what you are trying to do. Assuming the technical problems with field editors are solved, how it would work?
I’m trying to allow the user to edit the read/write access attributes for a given watchpoint. It may be an edge case, but one use case is if the user sets an access watchpoiint (read/write),
at a given symbol, and with a defined condition. They debug to a point and then want to change the attributes to only write access. I would like to enable the user to uncheck the read access attribute, and continue with the rest of the settings, instead
of copying the other attributes and defining a new one.
>> ? Are you planning to add a new breakpoint type for TCF Debugger?
No, I do not plan on adding any new type, just trying to allow the user to edit more of the attributes of the already existing type.
Thank you again for your time –
Scott
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mikhail Khodjaiants
Sent: Thursday, November 01, 2012 8:26 AM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] Edit read/write access attributes for watchpoints
On 31/10/2012 4:09 PM, Tepavich, Scott wrote:
Thank you Mikhail, I was assuming as much (hence the question). I’ve tried implementing my own FieldEditorFactory,
which works well on the editing page; however, it duplicates the entries when creating a new watchpoint. I can take the next step in defining a way to disable my contribution, when creating a new watchpoint, but this does not seem very clean. Another approach
could be to remove the common read/write access FieldEditors, and leave it up to the underlying framework/implementation to define when to add these options; however, I’m likewise assuming this is not preferable.
I’m sure these are not the only FieldEditors that fall into this category/issue. Any insight into
a longer term solution for this type of problem would be greatly appreciated.
Scott,
Not sure I understand what you are trying to do. Assuming the technical problems with field editors are solved, how it would work? Are you planning to add a new breakpoint type for TCF Debugger?
Thanks,
Mikhail