Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Watchpoints in CDT 2.x

Title: Watchpoints in CDT 2.x
The global "Toggle Watchpoint" action currently works only for the global variables selected in the Outline view similar to "Toggle Method Breakpoint". We are planning to make it available for the editors in 3.0. There are also context menu items for the Outline view and C/C++ Projects view available for global variables.
To set a watchpoint on an arbitrary _expression_ use the gdb console. 
----- Original Message -----
Sent: Thursday, January 20, 2005 1:00 PM
Subject: [cdt-debug-dev] Watchpoints in CDT 2.x

Hi,

In CDT 1.2 there was a Run->Add Watchpoint (C/C++) menu item that would then add a watchpoint to the breakpoints view. In CDT 2.1 this functionality seems to have disappeared - there is a 'Toggle Watchpoint' entry in the Run menu instead but I can't see how users can add in watchpoints in the first place.  The expressions view lets you add a 'Watch _expression_' but this is not quite equivalent to the watchpoints as it doesn't seem to allow read/write/conditional capabilities.

Any info on what the situation/plan is for these ?

Thanks,
Tracy Miranda


Back to the top