Watch points on memory address
With the new change from gdb to lldb , I can't find a way how to set watch points on some memory addresses . In gdb I used this watch -location *0x123456 Doing the same in lldb w s e *0x123456 Isn't working for me . So what can I use to run the same command in lldb ? Omit the "dereferencing operator" * when setting the watch point in lldb, just pass the address: watchpoint set expression -- 0x123456 # short form: w s e -- 0x123456 sets a watchpoint at the memory location 0x123456 . Optionally you can set the number of bytes to watch with --size . Example in short form: w s e -s 2 -- 0x123456