Here's how you do it:
1) Close Xcode.
2) In Finder, right-click on the Xcode project and select "Show Package Contents", then continue navigation and open the package contents, if necessary:
[your_workspace] .xcworkspace / xcuserdata / [login_user_name] .xcuserdatad / xcdebugger / Expressions.xcexplist
3) Delete the Expressions.xcexplist file.
4) Open Xcode.
Now you should not have expressions for this project.
Some interesting things to note about this file for editing:
- This is a plist type structure, so you can open it as XML / text.
- You can manually delete sections of expressions.
<ContextState contextName="GLOBAL"> contains all global expressions that can slow down Xcode in some circumstances, i.e. unlimited C ++ containers (without explicit size) to be evaluated in each context of the stack frame, for example std::list<> . If you use C ++, you can find out that the pain in the Xcode user interface is blocked while every debugger step is being executed. That is why I was first looking for this problem.- The other
<ContextState> sections contain a decorated function name that contains expressions for this context of the stack frame.
source share