首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >android ndk-gdb“看门狗超时时间已到”

android ndk-gdb“看门狗超时时间已到”
EN

Stack Overflow用户
提问于 2014-08-22 07:52:32
回答 1查看 559关注 0票数 0

在调试一个Android原生应用程序大约10分钟后,我得到:

代码语言:javascript
复制
"Watchdog timeout has expired. Target detached."

我的应用程序就会终止。我有一个随机崩溃,似乎发生在约40分钟(虽然不可预测)...does谁知道如何让ndk-gdb运行更长时间?还有其他的建议吗?

EN

回答 1

Stack Overflow用户

发布于 2015-02-25 03:03:22

来自:https://sourceware.org/gdb/onlinedocs/gdb/Maintenance-Commands.html

代码语言:javascript
复制
set watchdog nsec
    Set the maximum number of seconds gdb will wait for the target operation
    to finish. If this time expires, gdb reports and error and the command is aborted. 

show watchdog
    Show the current setting of the target wait timeout.

我将时间设置为set watchdog 32000000

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25437677

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档