Author Topic: GDB setting watchpoint on memory address?  (Read 636 times)

redcar

  • Community Member
  • Posts: 30
  • Hero Points: 0
GDB setting watchpoint on memory address?
« on: May 19, 2022, 10:31:42 AM »
I am debugging a C program using (Linux) SE as the GDB front end.

I have a structure that is being unexpectedly written by another thread in the application. I would like to set a watchpoint on a member of the structure.  Setting a watchpoint by name does not seem to work.  Can I set a watchpoint on the memory address?  I think that GDB allows it, but can't see an option in the SE GUI.

Also, the properties option of breakpoints and watchpoints is always greyed out, is this a known limitation?