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
Post a Comment