问题:最近在做iOS UI
卡顿监控,为了具体定位到卡顿的函数栈,使用到了pthread_kill
,但是debug
状态下,gdb
会被signal
干扰
下面是两种解决方案,第二种其实也是第一种的扩展
process handle -s0 -n0 -p1 SIGUSR1
- 通过设置
symbolic breakpoint
来执行上述"process handle" command
具体配置如下:
symbolic breakpoint image
问题:最近在做iOS UI
卡顿监控,为了具体定位到卡顿的函数栈,使用到了pthread_kill
,但是debug
状态下,gdb
会被signal
干扰
下面是两种解决方案,第二种其实也是第一种的扩展
process handle -s0 -n0 -p1 SIGUSR1
symbolic breakpoint
来执行上述"process handle" command
本文标题:signal causes debugger to stop a
本文链接:https://www.haomeiwen.com/subject/trqfyqtx.html
网友评论