Questions tagged [activity-tracing]

Activity Tracing is an API added in iOS 8 / OS X 10.10 that adds limited log messages to crash reports for apps running on Apple's platforms.

Activity Tracing is an API added in iOS 8 / OS X 10.10 that adds limited log messages to crash reports for apps running on Apple's platforms. It is described in WWDC 2014 Session 714

7 questions
5
votes
0 answers

How can I see os_trace messages in the debugger?

I'm trying to add iOS 8's new activity tracing feature to my app, but I'm not able to see any messages coming from my tracing. I'm using Xcode 6.2 beta 4 to drive my app on an iPod touch running iOS 8.2 beta 4. os_activity_initiate("activity",…
Greg
  • 10,360
  • 6
  • 44
  • 67
3
votes
0 answers

Using Apple Activity Tracing

Apple introduced Activity Tracing to support debugging asynchronous code. I have some difficulties using it properly. My example scenario is a small MacOS app just downloading a file: - (IBAction)actionDownload:(NSButton *)sender { …
Bokeh
  • 77
  • 1
  • 7
3
votes
0 answers

activity tracing message not show in thread info

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…
saurabh
  • 31
  • 3
1
vote
1 answer

ETW hierarchical activity IDs only working when PerfView is collecting at the same time

After trying to get ETW activity tracking working in my project for quite a while without much success, I figured I should take a step back and see if the demo project by Microsoft, available on this page was working for me. Unfortunately, it wasn't…
Yuk
  • 101
  • 1
  • 3
  • 7
1
vote
1 answer

How to print an Objective-C pointer with os_trace?

I'm trying to se Activity Tracing in an iOS app, things have been working nicely up until I needed to print an Objective-C pointer. In the slides for WWDC 14 Session 714 Apple mention that you can use %p to print pointers: But I can't find a…
1
vote
1 answer

How to set the activity name as a variable in os_activity_initiate?

Here when I tried setting the "test_activity" string as a variable I am getting some errors. os_activity_initiate("test_activity", OS_ACTIVITY_FLAG_DEFAULT, ^(void) { }); How to set the activity name as a variable here? something like given…
arango_86
  • 4,236
  • 4
  • 40
  • 46
0
votes
2 answers

Delphi: Logging UI events fired by user

I've been asked to put something in place into our programs in order to log somewhere what's happening on forms... Logging something such ...clicked either this or that button, context menu, events fired on components and so on.. This mostly because…
Tom
  • 103
  • 6