Mac OS X 命令行调试工具

10 篇文章 0 订阅
6 篇文章 0 订阅

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 (不全)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值