Xcode lldb po command doesn't output info

Viewed 246

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 to none
  • Debug Information Format set to DWARF 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.

enter image description here

2 Answers

Found the issue !

The issue was that we had an import in PROJECT_NAME-Bridging-Header.h which was making Foundation and UIKit 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

Related