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 -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

javascript - Read complete data from stream from onMessage -