Skip to content

Commit e8b0f45

Browse files
committed
Work around variables in the current frame being unreachable in lldb.
See https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-X code/Chapters/xc6_release_notes.html#//apple_ref/doc/uid/TP40001051-CH4- DontLinkElementID_23, Known Issues > Debugger.
1 parent dc7d601 commit e8b0f45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Few.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@
986986
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
987987
MTL_ENABLE_DEBUG_INFO = YES;
988988
ONLY_ACTIVE_ARCH = YES;
989+
OTHER_SWIFT_FLAGS = "-Xfrontend -serialize-debugging-options";
989990
SDKROOT = macosx;
990991
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
991992
VERSIONING_SYSTEM = "apple-generic";
@@ -1024,6 +1025,7 @@
10241025
GCC_WARN_UNUSED_VARIABLE = YES;
10251026
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
10261027
MTL_ENABLE_DEBUG_INFO = NO;
1028+
OTHER_SWIFT_FLAGS = "-Xfrontend -serialize-debugging-options";
10271029
SDKROOT = macosx;
10281030
VERSIONING_SYSTEM = "apple-generic";
10291031
VERSION_INFO_PREFIX = "";

0 commit comments

Comments
 (0)