Xcode Debugging Swift files stuck

Hi, i am having problem with the Xcode debugger. As soon as I stop on a breakpoint and i press stepOver or I try to "po" ad object everything stucks and I have to stop the process.

I found that I have this problem only with Swift files that are exposed to ObjectiveC throught the @objc key.

Sometimes in the console i found this message:

note: This error message is displayed only once. If the error displayed above is due to conflicting search paths to Clang modules in different images of the debugged executable, this can slow down debugging of Swift code significantly, since a fresh Swift context has to be created every time a conflict is encountered.

I have already tried to delete and reinstall Xcode severl times and several versions, but I have always the same error. My colleague does not have this problem with the same codebase, so I think should be something related to my mac but I can't find a solution.

Xcode version: Version 13.4.1 (13F100) OSX: Monterey 12.4

Thanks

Xcode Debugging Swift files stuck
 
 
Q