在调试一个Android原生应用程序大约10分钟后,我得到:
"Watchdog timeout has expired. Target detached."我的应用程序就会终止。我有一个随机崩溃,似乎发生在约40分钟(虽然不可预测)...does谁知道如何让ndk-gdb运行更长时间?还有其他的建议吗?
发布于 2015-02-25 03:03:22
来自:https://sourceware.org/gdb/onlinedocs/gdb/Maintenance-Commands.html
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
https://stackoverflow.com/questions/25437677
复制相似问题