I would like add some kind of marker or even force instruments to pause when execution reaches a specific line in the code. Is this possible?
Asked
Active
Viewed 959 times
5
-
1Yes with DTrace, you can set flags with code. See this [SO answer](http://stackoverflow.com/a/20272256/451475). It seems this is broken in iOS7 simulator, possibly fixed in iOS8. I used this on OSX. – zaph Aug 13 '14 at 18:17
1 Answers
1
You can use sign_posts using Xcode's new kdebug_signpost
command. See the SO post at: https://stackoverflow.com/a/39416673/1179897

Shaheen Ghiassy
- 7,397
- 3
- 40
- 40