Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] breakpoint properties

I think giving the user more flexibility is better, so if it is possible to edit these attributes
at any time, it would be nice to support it.
As you know, changing some of these attributes at any time may cause some complexity
in CDT (e.g., changing an attribute may not be supported by GDB and will require CDT
to delete and re-create a breakpoint with the new value of the attribute) but I don't think this
is a major problem, as long as someone can code that support :)

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pawel Piech
Sent: Wednesday, March 21, 2012 5:49 PM
To: CDT General developers list.
Subject: [cdt-dev] breakpoint properties

Hi All,
While working on bug 360588 I've come across a strange problem: many of the breakpoint properties that are set during breakpoint creation are not editable afterwards.  This includes:
  • Watchpoint
    • _expression_
    • Read
    • Write
    • Unit
  • Function
    • _expression_
  • Event
    • Breakpoint Type
  • All
    • Type: Hardware/Software/Regular
    • Temporary

In order to implement the ability to edit the breakpoint on create, I make some of these fields editable only when breakpoint is being created, however I don't know if this is necessary.  So my question is:

Are these breakpoint parameters intentionally read-only?  Or should we let the user edit them just as all the other editable parameters?


Back to the top