开发者

Android debugging timeouts

开发者 https://www.devze.com 2022-12-26 05:48 出处:网络
My activity occasionally gets hung somewhere in it\'s looper. From the log 开发者_运维技巧I can see an eventual timeout is logged, and then there\'s a win-death.

My activity occasionally gets hung somewhere in it's looper.

From the log 开发者_运维技巧I can see an eventual timeout is logged, and then there's a win-death.

WARN/ActivityManager(1052): Activity pause timeout for HistoryRecord{1234 {com.company.app/com.company.app.App}}
...
WARN/ActivityManager(1052): Activity idle timeout for HistoryRecord{1234 {com.company.app/com.company.app.App}}
...
INFO/Process(416): Sending signal. PID: 416 SIG: 9
INFO/WindowManager(1052): WIN DEATH: Window{1234 com.company.app/com.company.app.App paused=false}

How can I debug this? Can I get a stack-trace when it's interrupted?

0

精彩评论

暂无评论...
验证码 换一张
取 消