lldb crash

I have used Xcode 12.4, lldb in Xcode 12.4 work ok, it can Add Expression or Use p or po in LLDB command Line.

but After I upgrade my OS and Xcode, p or po will trigger LLDB RPC server crash ."The LLDB RPC server has crashed. You may need to manually terminate your process. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log."

OS:macOS Big Sur 11.6 Xcode: 13.0 download from AppStore or 13.2beta download from https://developer.apple.com/download/all/

please refer to the attachment for more details.

and tell me how to slove this problem 。

thanks

I have sloved this problem by try to clean and reinstall xcode .

my method is following :

step 0: close Xcode

step 1, kept Xcode.app unchange, not necessary to remove #sudo rm -rf /Applications/Xcode.app

step 2, but necessary to call sudo rm -rf /Library/Preferences/com.apple.dt.Xcode.plist rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist rm -rf ~/Library/Caches/com.apple.dt.Xcode rm -rf ~/Library/Application\ Support/Xcode rm -rf ~/Library/Developer

after these done, restart xcode, check whether the problem is sloved.

lldb crash
 
 
Q