sigabrt with no error message(sigabrt 没有错误信息)
问题描述
我有一个奇怪的问题,我在主循环中得到一个 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 没有错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:sigabrt 没有错误信息


基础教程推荐
- 如何使用 YouTube API V3? 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01