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

php - Creating canonical URLs with custom route-classes -

Mysql Local server hardware -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -