且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的应用程序崩溃与SIGABRT信号6只,而Eclipse的调试

更新时间:2023-01-02 23:10:32

Android的故意杀害,因为它认为UI线程被挂起,所以它的一个ANR权的过程。 用于调试的目的就可以了,

android intentionally kills the process because it thinks the UI thread is hung, so its a ANR right. for debugging purposes you can,

进入设置 - >开发者选项,并选中显示所有ANRS

Go to Settings -> Developer options and check Show all ANRs.

这将显示在后台运行的应用程序的应用程序不响应对话框。您可以点击等待按钮,在对话框中以prevent系统杀死你的过程,直到调试程序连接。 需要注意的是自动打开在前台运行的应用程序的对话框。对于后台应用程序,您必须启用该选项

This will show an App Not Responding dialog for apps running in the background. You can click the Wait button in the dialog to prevent the system from killing your process until the debugger attaches. Note that the dialog is opened automatically for apps running in the foreground. For background apps, you have to enable this option