Debugging Question: Download Linux Debugging PDF
Which GDB command interrupts the program whenever the value of a variable is modified and prints the value old and new values of the variable?
a) watch
b) show
c) trace
d) none of the mentioned
Answer:
a) watch