How can I see os_trace messages in the debugger?

I’m trying to add a new activity tracking function to my iOS 8 application, but I don’t see the messages coming from my trace. I am using Xcode 6.2 beta 4 for my iPod touch application running on iOS 8.2 beta 4.

os_activity_initiate("activity", OS_ACTIVITY_FLAG_DEFAULT, ^{ os_trace_debug("test tracing"); doAThing(); // breakpoint on this line }); 

When I hit a breakpoint, I try

 (lldb) thread info thread #11: tid = 0x3b41, ... 

as described in the article, but I do not see activity messages.

+5
source share

Source: https://habr.com/ru/post/1211784/


All Articles