Debugging Cocoa with DTrace Guide
Finally today I can finally reveal my Debugging Cocoa with DTrace guide to you. I had originally meant that this be a quick article on this site, but I kept adding and adding to it and finally by the time I knew what I had gotten myself into it was 40+ pages long. This guide isn't as comprehensive as I would like even at the length that it is. It covers many things regarding the nature of tracing Cocoa apps with DTrace and some various useful techniques. If you don't know DTrace this guide has links to this site and Suns sites that introduce you to DTrace. Again many thanks to the reviewers who helped me in recognizing the things that could be improved or the finer points I missed. Thanks for your help! You can download it from here (right click & save as): http://www.1729.us/cocoasamurai/Debugging%20Cocoa%20with%20DTrace.pdf Embedding DTrace in your Xcode/Cocoa Project Video In this video I explain how to embed DTrace probes into your application which you can then use to get a lot of useful information about the state of your application. Watch it below or you should be able to watch and download it at viddler: http://www.viddler.com/explore/Machx/videos/8/ Update
6 comments:
Great introduction! I found a few typos in your PDF, what's the proper way to report them to you?
@Mattias just email me ( cocoasamurai [at] gmail.com ) and let me know. Thanks!
silly me, I can't find how to download the video from Viddler. I could not see a "download" button or link. I even registered and logged in there to be sure.
What did I miss?
Thanks,
JD
Even sillier me: I had not seen the tiny "download this" disk icon below the player
Really useful, especially the "create your own probes" part. Thanks :-)
Thanks for taking the time to do this. Its a good introduction to DTrace in Xcode.
Post a Comment