Group Group Group Group Group Group Group Group Group

Ch. 10: LLDB -o option

#1

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!

2 Likes
#2

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

1 Like
#3

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

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

worked for me!

#4

dito

the true after ‘-o’ parameter is missing!

#5

Thanks for finding and reporting that typo!

closed #6

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