问题描述
从Debugger发生错误:此框架内部的前一帧(gdb无法解除过去)这个框架)
当应用程序击中断点时,会发生这种情况。如果我在调试器中按下继续按钮,它会继续快乐地继续下一个断点,当它弹出相同的问题时。
这个消息是什么意思,更重要的是我该怎么解决?我一直在调试这个程序很久没有遇到这个错误。
我尝试了一个干净的构建,以及重新启动我的Mac。我在XCode 3.2.3,iOS 4.0.1。
我也开始有这个问题,对我来说由LLVM代码生成引起。我将我的目标中的编译器设置从LLVM GC 4.2切换到GCC 4.2,做了一个干净的重建,调试器再次开心。
这也可以是由堆栈损坏引起的,所以它可能会有一个合法的错误。在我的情况下,我无法随时随地设置断点,甚至在applicationDidFinishLaunching:中。这指向了手指的构建设置。
我希望这有助于!
I am getting the following debugger error when I encounter a breakpoint on the device:
Error from Debugger: Previous frame inner to this frame (gdb could not unwind past this frame)
This occurs when the app hits a breakpoint. If I hit the continue button in the debugger, it continues happily until the next breakpoint, when it pops up the same issue.
What does this message mean, and more importantly how can I fix it? I have been debugging this app for a long time without ever encountering this error.
I tried a clean build, as well as rebooting my Mac. I am on XCode 3.2.3, iOS 4.0.1.
I started having this problem also, and for me it was caused by LLVM code generation. I switched the compiler setting in my target from "LLVM GC 4.2" to "GCC 4.2", did a clean rebuild, and the debugger was happy again.
This can also be caused by stack corruption, so its possible you may have a legitimate bug. In my case though, I couldn't set breakpoints anywhere, anytime, even in applicationDidFinishLaunching:. That pointed the finger at a build setting.
I hope this helps!
这篇关于调试器出错:上一帧框架(gdb无法展开过此框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!