Apple used to send a tool called amber as part of the CHUD with Xcode 2.5, which would provide a trace of the command for the process. Then you can pass the command trace to simg5 . The simg5 tool comes with Xcode 3, but without amber , which makes it seem to be useless (unless you have a bunch of tracks).
How to get OS X / PowerPC process team trace?
(I tried installing amber from Xcode 2.5 packages, but the package refused to run. I tried to extract the executable file manually, but I got a bus error after I connected to the running process, killing both amber and the target process.)
source share