Chapter 11 - Setting NSWindow background color

I am following along the examples on the chapter 11.
When I try to set up breakpoint in NSWindow with this command:
breakpoint set -o true -S "-[NSWindow mouseDown:]"

I get the following error from LLDB:

Breakpoint 3: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.

Info:
lldb-1103.0.22.4
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)
Xcode Version 11.4 (11E146)

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

@gomes You can try
breakpoint set -o true --name "-[NSWindow mouseDown:]"

1 Like

@derekli66 Thank you for sharing your solution - much appreciated!

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