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
Wednesday, January 21, 2009
Debug Cocoa with DTrace Guide & Embedding DTrace into Xcode Video
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/ UpdateViddler isn't allowing downloads at the moment. I don't know what is happening here as the downloads usually work fast, but if they don't work in a while I'll try and find out what's going on with Viddler. All I know is downloading/embedding is set to everyone so Viddler should be allowing downloads.
Update 2: Viddler Downloads are working now :)
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
Great introduction! I found a few typos in your PDF, what's the proper way to report them to you?
ReplyDelete@Mattias just email me ( cocoasamurai [at] gmail.com ) and let me know. Thanks!
ReplyDeletesilly 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.
ReplyDeleteWhat did I miss?
Thanks,
JD
Even sillier me: I had not seen the tiny "download this" disk icon below the player
ReplyDeleteReally useful, especially the "create your own probes" part. Thanks :-)
ReplyDeleteThanks for taking the time to do this. Its a good introduction to DTrace in Xcode.
ReplyDelete