May I add that I believe you can do that right now. You can turn any standard breakpoint in Xcode into a non-stopping print breakpoint. By creating a standard breakpoint, edit Breakpoint to open the popover, then add action and select log message, then type your message. You can use variables and expressions here as well. However I prefer to use print statements for that. Now, when you run your app, Xcode will print your custom log to the console every time that line is hit, but the app will never pause, and you never had to recompile. Is that working? You can also edit both breakpoints, with automatically continue, and add a debugger command action instead of a log message. Interested to see how you use the breakpoints. If you want to know what gets called, with how much frequency, in which order, and how long it took without writing a single line of code, instruments time profiler is my go tool for that. Albert
Worldwide Developer Relations.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: