I found a way to fix the debugging issue by deleting all Xcode-related folders and reinstalling Xcode and command-line tools. However, I'm not sure what exactly solved it.
Here are my steps:
Deleted the following folders/files:
/Library/Developer/CommandLineTools
/Applications/Xcode.app
/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Caches/com.apple.dt.Xcode
~/Library/Application Support/Xcode
~/Library/Developer/* # except /Xcode/UserData and /Xcode/Archives
Reboot
Install Xcode 16.3 from dmg, run it, accept all agreements, etc.
Run xcode-select --install to install Command Line Tools for Xcode
After all these steps, breakpoints set while running the app in the Simulator no longer freeze the Simulator/debugger.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: