Mac OS X 命令行调试工具


Tool

Documentation

Summary

gdb

manual page, Debugging with GDB

Command line debugger

dtrace

manual page

Dynamic, comprehensive and sophisticated tracing; see DTrace for more information [1]

fs_usage

manual page

File system trace tool

sc_usage

manual page

System call trace tool

plockstat

manual page

pthread mutex and read/write lock statistics

latency

manual page

Scheduling latency debugging tool

heap

manual page

Heap dump

vmmap

manual page

Address space dump

malloc_history

manual page

Memory allocation history

leaks

manual page

Leak detection

tcpdump

manual page, Technical Q&A QA1176, 'Getting a Packet Trace'

Network packet trace

netstat

manual page

Network statistics; netstat -an shows all network connections

lsof

manual page

List open files

fuser

manual page

Show processes with file open

PPCExplain

PPC mnemonics explained

ktrace, kdump

manual page

Kernel tracing [2]

otool

manual page

Displays object file

nm

manual page

Displays symbol table in object file

class-dump

Displays Objective-C runtime information in object file

dyldinfo

manual page

Displays dyld information in object file [3]

更多参考见 http://developer.apple.com/library/mac/#technotes/tn2124/_index.html

中文版 http://www.apple.com.cn/developer/mac/library/documentation/DeveloperTools/Conceptual/tn2004/tn2124.html (不全)

你可能感兴趣的:(object,OS,NetWork,statistics,debugging,Allocation)