Post

Replies

Boosts

Views

Activity

Comment on Instruments fails to record Points of Interest
After I trashed my app and rebuilt, the points of interest started showing up. It was not necessary to change 99 to OS_SIGNPOST_ID_EXCLUSIVE. Weird. I had tried running under the debugger to verify that the code was getting hit, so I don't see how I could have been running old code. I don't know if this is relevant, but the code I was trying to profile is not in the main app code, but in a private framework built by a subproject that is a target dependency.
Aug ’22
Comment on Instruments fails to record Points of Interest
After I trashed my app and rebuilt, the points of interest started showing up. It was not necessary to change 99 to OS_SIGNPOST_ID_EXCLUSIVE. Weird. I had tried running under the debugger to verify that the code was getting hit, so I don't see how I could have been running old code. I don't know if this is relevant, but the code I was trying to profile is not in the main app code, but in a private framework built by a subproject that is a target dependency.
Replies
Boosts
Views
Activity
Aug ’22
Comment on What does "not supported" mean in a deprecation warning?
Yes, I know FSRef is deprecated. I have some legacy code with FSRef all over the place, and it's hard to budget a man-month to fix something that's not actually causing problems for users. To give just one example of where an FSRef might come from, some legacy data might contain an old-fashioned Alias handle, so I need to call FSResolveAlias.
Replies
Boosts
Views
Activity
Dec ’21