Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Poobah on April 25, 2007, 02:58:34 am
-
I'm not sure if this is possible or not, but could a feature be implemented in the debugger where one can choose to watch a variable and break when it changes to a specific value? This would be extremely useful for me.
-
Currently there are two ways to break based on data:
- Breakpoint counter: when you put a breakpoint, you can change its properties and add a counter so that it actually breaks after "x" times it is hit or put a conditional expression like "i>10".
- Data breakpoint: this has no conditions or counter (i.e. not implemented yet) but still are useful to break when a memory location is either read, written or for both cases.
-
Thanks, mandrav. I hadn't noticed that breakpoints' properties could be edited.