3

I am trying to get message in thread info after crash. code is - (IBAction)btn_crash:(id)sender { os_activity_initiate("activity", OS_ACTIVITY_FLAG_DEFAULT, ^{ os_trace_debug("test tracing"); [self testtracing]; }); } but what i get is

**(lldb) thread info

thread #1: tid = 0x523d, 0x000000010b67a282 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT**

not the activity message please help.

saurabh
  • 31
  • 3
  • I tired the same and it works with Xcode 7.3. If it crashes in [self testtracing], the message "test tracing" will appear in the crash report. – Joe Smith May 02 '16 at 19:03

0 Answers0