How to set Data change breakpoint ?

Vladimir Prus ghost at cs.msu.su
Fri Dec 16 08:50:00 GMT 2011


On 16/12/11 12:43, Mahmood Naderan wrote:
> hi,
> Another way is to open gdb pane and insert a commnad like this:
>
> break if (condition)
>
> http://sourceware.org/gdb/onlinedocs/gdb/Set-Breaks.html

This will set conditional breakpoint, not data breakpoint. Data breakpoint fires
when a memory at specific address changes, regardless of where the execution is.

- Volodya




More information about the KDevelop mailing list