# HG changeset patch # User Oleksandr Gavenko # Date 1327009750 -7200 # Node ID 9e4964570162d46031e9b9015ca04b4dda0381ae # Parent 594324cbb4488fee739db4df8c8bbc1221b5ac99 Debugging in Mac OS X. diff -r 594324cbb448 -r 9e4964570162 macosx-debug.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macosx-debug.rst Thu Jan 19 23:49:10 2012 +0200 @@ -0,0 +1,20 @@ +.. -*- coding: utf-8 -*- + +======================== + Debugging in Mac OS X. +======================== + +dtruss. +======= + + $ dtruss df -h # run and examine the "df -h" command + $ dtruss -p 1871 # examine PID 1871 + $ dtruss -n tar # examine all processes called "tar" + +dtrace. +======= +:: + + $ man -k dtrace + $ dapptrace +