PMainThreadWatcher
PMainThreadWatcher copied to clipboard
PMainThreadWatcherDelegate没有调用
demo在发出exception时,并没有调用PMainThreadWatcherDelegate的方法,和平时的那个exception一样,程序中止了,要重新build才能继续用,然后问一下这个工具还有进一步的更新吗?
文章里面说了:
值得一提的是上述代码不能调试,因为调试时gdb会干扰signal的处理,导致signal handler无法进,但UI线程在遇到卡顿的时候还是能正常被中断。