最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - Xcode Breakpoints Not Hitting – "Xcode Won't Pause at This Breakpoint Because It Has Not Been Resolved&am

programmeradmin3浏览0评论

I'm trying to debug my iOS app in Xcode, but my breakpoints are not working. When I hover over a breakpoint, I see this message:

"Xcode won’t pause at this breakpoint because it has not been resolved."

Resolving it requires that:

The line at the breakpoint is compiled.

The compiler generates debug information that is not stripped out (check the Build Settings).

The library for the breakpoint is loaded.

What I've Tried

've already tried the following solutions, but the issue persists: ✅ Running in Debug Mode:

Product → Scheme → Edit Scheme → Debug executable is checked.

✅ Cleaning and Rebuilding the Project:

Cmd + Shift + K to clean.

Cmd + B to rebuild.

✅ Checking Debug Information Format:

Build Settings → Debug Information Format is set to DWARF with dSYM File.

✅ Disabling Optimizations:

Build Settings → Optimization Level → Debug is set to None [-O0].

✅ Rebuilding with Debugging Symbols:

Product → Perform Action → Rebuild with Debugging Symbols.

✅ Restarting Xcode & Mac

No luck even after a fresh restart.

one thing I recently updated Mac OS git desktop and Xcode as well

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论