Ch. 10: LLDB -o option

Hi there,

On page 141 there is the following instruction for LLDB:

(lldb) breakpoint set -o -S "-[NSWindow mouseDown:]

This yields an error:

error: invalid boolean value '-S' passed for -o option

Looking at (lldb) help breakpoint set, it seems the -o option needs an argument. I tried this and it seems to work:

(lldb) breakpoint set --one-shot true -S "-[NSWindow mouseDown:]"

Have a great day!

1 Like

@lolgrep Do you have any feedback regarding this? Thank you - much appreciated! :]

1 Like

Thanks, came here looking for errata for the same line.

(lldb) breakpoint set -o true -S "-[NSWindow mouseDown:]"

worked for me!


the true after ‘-o’ parameter is missing!

Thanks for finding and reporting that typo!

This topic was automatically closed after 166 days. New replies are no longer allowed.