Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
457 views
in Technique[技术] by (71.8m points)

iphone - Error from Debugger: Previous frame inner to this frame (gdb could not unwind past this frame)

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...