1

I have been trying to use eclipse CDT to debug my C code. I see that unlike what gdb does, when a watch expression is added, the program does not break when the value changes(write). I also tried using "toggle breakpoints" from run option, it says "The option is unavailable." Is there something I am missing?

Thanks in advance

Naveen
  • 413
  • 1
  • 5
  • 9

1 Answers1

1

What you need is watchpoints instead of watch expressions.

Try Googling that. Usage varies with your specific Eclipse version.

Tugrul Ates
  • 9,451
  • 2
  • 33
  • 59