Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


DTrace? | 11 comments | Create New Account
Click here to return to the 'DTrace?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
DTrace?
Authored by: arcticmac on Sep 11, '09 12:07:55PM

I think not, or at least I couldn't find one on quickly.

Basically, the issue is that preference keys are passed as NSCFString objects, about which DTrace knows nothing. Plus dtrace doesn't have any of your libraries loaded, so you can't just call a library function to get a c-string representation, which means you're stuck. Unless you want to go mucking around and trying to figure out how various instances of NSCFString store their characters, which is a whole lot HARDER than just using gdb.

The way on my website is somewhat more self contained, but it still isn't something that you could, say, do from Instruments.



[ Reply to This | # ]