Skip to content

Commit ca14e89

Browse files
committed
修改符号化脚本
1 parent c3bee0d commit ca14e89

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

DDZombieMonitor/Symbolicating.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -143,22 +143,21 @@ def formatZombieInfo(base_path):
143143
attach_log.close()
144144

145145

146-
146+
'''
147147
if __name__ == '__main__':
148148
formatZombieInfo('/Users/haishengding/Desktop/github/DDZombieMonitor/crash')
149+
'''
149150

150151

151152
'''
152153
脚本使用方法
153-
1.把crash_attach.log和Demo.app.dSYM放在一个目录
154+
1.把crash_attach.log和Demo.app.dSYM放在一个目录,替换脚本中Demo为自己对工程名
154155
2.把目录DIR传给脚本,符号化完成后在该目录生成zombie_info.log文件
155156
e.g
156157
python Symbolicating_Zombie.py '/Users/huya/Documents/work/zombie/crash'
157158
'''
158159

159-
'''
160160
if __name__ == '__main__':
161161
if len(sys.argv) != 2:
162162
print "please input corrent arg!"
163163
formatZombieInfo(sys.argv[1])
164-
'''

0 commit comments

Comments
 (0)