Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Bring Back "Add Watchpoint (C/C++)" for CDT 2.1.1?

The Run->Add Watchpoint (C/C++) menu item (in CDT 1.x) was removed from
CDT 2.0.  We (Altera) shipped our Nios II 1.1 IDE (last summer) based on
CDT 1.2.1.  Now we're in the middle of upgrading to CDT 2.1 for our next
release, and we don't want to take watchpoints (on local variables) away
from our users.

I understand that "Toggle Watchpoint" has been added for global
variables in the Outline view.  But our customers used the Add
Watchpoint feature to set watchpoints on local variables.  I also
understand that watchpoints on local variables are not persistent
between debugging sessions.  We're aware of the "bug" where watchpoints
on local variables remain in the Breakpoints view, but don't work in
subsequent debugging sessions.  But we feel that it's more important to
keep this buggy functionality in than remove it all together.  (I would
like to try to fix this bug in the future and, of course, contribute the
fix back to the CDT.)

Would anyone object to this being added back for the CDT 2.1.1 release?

I exchanged email with Mikhail Khodjaiants about this, and he suggested
that we add it back in as an "Add Watchpoint" action in the Breakpoints
view, so there won't be two similar editor actions when "Toggle
Watchpoint" is added as an editor action in CDT 3.0.  This makes sense
to me.

--
Daryl Spitzer
Santa Cruz Technology Center
Altera Corporation
408-544-8539
dspitzer@xxxxxxxxxx



Back to the top