What is the lldb equivalent of gdb rwatch?

I'm in a situation where reading vantage points would be great. Looking at the lldb help I could find the command watchpoint

, but it only seems to support write watchpoints (which are admittedly much more useful in general, but in my case it won't).

I know gdb has a command rwatch

that sets read watchpoints. Is there an equivalent with lldb?

+3


source to share


1 answer


watch set variable|expression

both take a -w

/ argument --watch

, indicating either write

(the default) read

or read_write

. eg.



(lldb) wa s v -w read myvar

      

+4


source







All Articles