For some reason lldb
stopped outputting any information when running p
or po
commands.
As suggested in other topic I have tried the following without any success:
- Cleaning the project
Optimization Level
project setting set tonone
Debug Information Format
set toDWARF with dSYM File
I am running Xcode 12.2
on MacOS BigSur 11.0.1
but I that happens prior updating both XCode and the OS.
2
Answers
Found the issue !
The issue was that we had an import in
PROJECT_NAME-Bridging-Header.h
which was makingFoundation
andUIKit
frameworks globally available across the project. As soon as we removed that import the debugging was back to normal.It it really-project specific issue. The answer might not help you if you are dealing with different kind of setup in your project.
For my case the problem was about compiled time as the size of the project was big which includes lots storyboards. That was my lldb po was stuck for Xcode 11.6.
Good luck