Top "Watchpoint" questions

Watchpoint is a point at which program executed via a debugger stops to let the programmer peek into memory and call stack or enter step by step execution mode.

Watchpoint a fixed address

For my current embedded application I am trying to put GDB watch point at a fixed memory address. As an …

debugging gdb watchpoint
How do I set persistent and conditional watchpoints on locally scoped variables?

If I set a watchpoint for a variable local to the current scope, it will be auto deleted when going …

gdb watchpoint
Tracking variable or memory change in Xcode?

Is there any way to track variable changes or memory changes in Xcode? I'm looking for functionality like Visual Studio's …

iphone xcode watchpoint
Remove all hardware watchpoints in Linux kernel 3.0.0

After setting the first (and only possible) hardware watchpoint via watch varname in GDB, it's not possible to remove it …

linux gdb breakpoints watchpoint
How to detect offending code for stack smashing error

In a complex program, I am encountering a stack smashing error, pasted below. I'm having trouble to find out where …

c debugging gdb stack watchpoint
Is it possible to set a gdb watchpoint programmatically?

I want to set a watchpoint (break on hardware write) temporarily in my C++ program to find memory corruption. I've …

c++ gdb watchpoint
GDB hardware watchpoint very slow - why?

On a large C application, I have set a hardware watchpoint on a memory address as follows: (gdb) watch *0x12…

gdb watchpoint