问题描述
我有一个奇怪的问题,我在主循环中得到一个 Sigabrt,但没有显示错误消息,我在互联网上查看了很多,但没有找到任何有用的东西.所以我的问题是,如何在没有错误消息的情况下跟踪导致 sigabrt 的原因?
I have a strange problem, i am getting a Sigabrt in main loop, but no error message is displayed, i've looked quite a lot on this in the internet but didn't manage to find anything useful. So my question would be, how to track what is causing sigabrt with no error message?
提前致谢.
推荐答案
当您的程序崩溃时,您可以转到调试器控制台并键入 bt(回溯),这将使您了解什么崩溃时正在执行代码.顶级项目可能不是您的代码,但如果您继续向下移动,您最终应该会在那里看到您的一些东西.
When your program crashes, you can go to the debugger console and type bt (backtrace) which will give you an idea of what code was being executed at the time of the crash. The top level items may not be your code, but if you keep moving down you should see something of yours in there eventually.
如果您的代码中没有任何调用,那么这些 SIGABRT 错误通常与您的 xib 文件有关,在 xib 文件中会丢失或重命名或以其他方式更改未反映在您的代码中的内容.
If there aren't any calls from your code then these SIGABRT errors are often related to your xib files, there will be something missing or renamed or otherwise changed in a xib file that hasn't been reflected in your code.
这篇关于sigabrt 没有错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)