gdb - setting a breakpoint when variable reaches specific value -


Is there any deviation to define when a variable converts a specific value to GDB? For example, a variable takes these values: 1 4 8 10 3 29 13 11 and I want to set a breakpoint when it reaches variable 9.

Yes, set.

  break ... if value == 9    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

c - Selecting a file randomly from a file system -