Skip to content

Commit ec1cf8d

Browse files
committed
Added debugging in Xcode example.
1 parent 5535a06 commit ec1cf8d

File tree

13 files changed

+1000
-0
lines changed

13 files changed

+1000
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
C31CD38E1CD6484100863554 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = C31CD38D1CD6484100863554 /* main.c */; };
11+
C31CD3981CD6495F00863554 /* SubclassList.c in Sources */ = {isa = PBXBuildFile; fileRef = C31CD3961CD6495F00863554 /* SubclassList.c */; };
12+
C31CD39D1CD929B700863554 /* py_call_super.c in Sources */ = {isa = PBXBuildFile; fileRef = C31CD39B1CD929B700863554 /* py_call_super.c */; };
13+
C3B34FD51CE4EDAA00DC9BA7 /* Python in Frameworks */ = {isa = PBXBuildFile; fileRef = C3B34FD41CE4EDAA00DC9BA7 /* Python */; };
14+
/* End PBXBuildFile section */
15+
16+
/* Begin PBXCopyFilesBuildPhase section */
17+
C31CD3881CD6484100863554 /* CopyFiles */ = {
18+
isa = PBXCopyFilesBuildPhase;
19+
buildActionMask = 2147483647;
20+
dstPath = /usr/share/man/man1/;
21+
dstSubfolderSpec = 0;
22+
files = (
23+
);
24+
runOnlyForDeploymentPostprocessing = 1;
25+
};
26+
/* End PBXCopyFilesBuildPhase section */
27+
28+
/* Begin PBXFileReference section */
29+
C31CD38A1CD6484100863554 /* PythonSubclassList */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PythonSubclassList; sourceTree = BUILT_PRODUCTS_DIR; };
30+
C31CD38D1CD6484100863554 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
31+
C31CD3961CD6495F00863554 /* SubclassList.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SubclassList.c; sourceTree = "<group>"; };
32+
C31CD3971CD6495F00863554 /* SubclassList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SubclassList.h; sourceTree = "<group>"; };
33+
C31CD3991CD7A2BC00863554 /* setup.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = setup.py; sourceTree = "<group>"; };
34+
C31CD39B1CD929B700863554 /* py_call_super.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = py_call_super.c; sourceTree = "<group>"; };
35+
C31CD39C1CD929B700863554 /* py_call_super.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = py_call_super.h; sourceTree = "<group>"; };
36+
C3913BA41CE20386005A5E45 /* test_sclist.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = test_sclist.py; sourceTree = "<group>"; };
37+
C3B34FD41CE4EDAA00DC9BA7 /* Python */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = Python; path = ../../../../../../../Library/Frameworks/Python.framework/Versions/3.4/Python; sourceTree = "<group>"; };
38+
/* End PBXFileReference section */
39+
40+
/* Begin PBXFrameworksBuildPhase section */
41+
C31CD3871CD6484100863554 /* Frameworks */ = {
42+
isa = PBXFrameworksBuildPhase;
43+
buildActionMask = 2147483647;
44+
files = (
45+
C3B34FD51CE4EDAA00DC9BA7 /* Python in Frameworks */,
46+
);
47+
runOnlyForDeploymentPostprocessing = 0;
48+
};
49+
/* End PBXFrameworksBuildPhase section */
50+
51+
/* Begin PBXGroup section */
52+
C31CD3811CD6484100863554 = {
53+
isa = PBXGroup;
54+
children = (
55+
C31CD38C1CD6484100863554 /* PythonSubclassList */,
56+
C31CD38B1CD6484100863554 /* Products */,
57+
);
58+
sourceTree = "<group>";
59+
};
60+
C31CD38B1CD6484100863554 /* Products */ = {
61+
isa = PBXGroup;
62+
children = (
63+
C31CD38A1CD6484100863554 /* PythonSubclassList */,
64+
);
65+
name = Products;
66+
sourceTree = "<group>";
67+
};
68+
C31CD38C1CD6484100863554 /* PythonSubclassList */ = {
69+
isa = PBXGroup;
70+
children = (
71+
C3B34FD41CE4EDAA00DC9BA7 /* Python */,
72+
C3913BA41CE20386005A5E45 /* test_sclist.py */,
73+
C31CD38D1CD6484100863554 /* main.c */,
74+
C31CD3961CD6495F00863554 /* SubclassList.c */,
75+
C31CD3991CD7A2BC00863554 /* setup.py */,
76+
C31CD3971CD6495F00863554 /* SubclassList.h */,
77+
C31CD39B1CD929B700863554 /* py_call_super.c */,
78+
C31CD39C1CD929B700863554 /* py_call_super.h */,
79+
);
80+
path = PythonSubclassList;
81+
sourceTree = "<group>";
82+
};
83+
/* End PBXGroup section */
84+
85+
/* Begin PBXNativeTarget section */
86+
C31CD3891CD6484100863554 /* PythonSubclassList */ = {
87+
isa = PBXNativeTarget;
88+
buildConfigurationList = C31CD3911CD6484100863554 /* Build configuration list for PBXNativeTarget "PythonSubclassList" */;
89+
buildPhases = (
90+
C31CD3861CD6484100863554 /* Sources */,
91+
C31CD3871CD6484100863554 /* Frameworks */,
92+
C31CD3881CD6484100863554 /* CopyFiles */,
93+
);
94+
buildRules = (
95+
);
96+
dependencies = (
97+
);
98+
name = PythonSubclassList;
99+
productName = PythonSubclassList;
100+
productReference = C31CD38A1CD6484100863554 /* PythonSubclassList */;
101+
productType = "com.apple.product-type.tool";
102+
};
103+
/* End PBXNativeTarget section */
104+
105+
/* Begin PBXProject section */
106+
C31CD3821CD6484100863554 /* Project object */ = {
107+
isa = PBXProject;
108+
attributes = {
109+
LastUpgradeCheck = 0600;
110+
ORGANIZATIONNAME = "Paul Ross";
111+
TargetAttributes = {
112+
C31CD3891CD6484100863554 = {
113+
CreatedOnToolsVersion = 6.0.1;
114+
};
115+
};
116+
};
117+
buildConfigurationList = C31CD3851CD6484100863554 /* Build configuration list for PBXProject "PythonSubclassList" */;
118+
compatibilityVersion = "Xcode 3.2";
119+
developmentRegion = English;
120+
hasScannedForEncodings = 0;
121+
knownRegions = (
122+
en,
123+
);
124+
mainGroup = C31CD3811CD6484100863554;
125+
productRefGroup = C31CD38B1CD6484100863554 /* Products */;
126+
projectDirPath = "";
127+
projectRoot = "";
128+
targets = (
129+
C31CD3891CD6484100863554 /* PythonSubclassList */,
130+
);
131+
};
132+
/* End PBXProject section */
133+
134+
/* Begin PBXSourcesBuildPhase section */
135+
C31CD3861CD6484100863554 /* Sources */ = {
136+
isa = PBXSourcesBuildPhase;
137+
buildActionMask = 2147483647;
138+
files = (
139+
C31CD38E1CD6484100863554 /* main.c in Sources */,
140+
C31CD39D1CD929B700863554 /* py_call_super.c in Sources */,
141+
C31CD3981CD6495F00863554 /* SubclassList.c in Sources */,
142+
);
143+
runOnlyForDeploymentPostprocessing = 0;
144+
};
145+
/* End PBXSourcesBuildPhase section */
146+
147+
/* Begin XCBuildConfiguration section */
148+
C31CD38F1CD6484100863554 /* Debug */ = {
149+
isa = XCBuildConfiguration;
150+
buildSettings = {
151+
ALWAYS_SEARCH_USER_PATHS = NO;
152+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
153+
CLANG_CXX_LIBRARY = "libc++";
154+
CLANG_ENABLE_MODULES = YES;
155+
CLANG_ENABLE_OBJC_ARC = YES;
156+
CLANG_WARN_BOOL_CONVERSION = YES;
157+
CLANG_WARN_CONSTANT_CONVERSION = YES;
158+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
159+
CLANG_WARN_EMPTY_BODY = YES;
160+
CLANG_WARN_ENUM_CONVERSION = YES;
161+
CLANG_WARN_INT_CONVERSION = YES;
162+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
163+
CLANG_WARN_UNREACHABLE_CODE = YES;
164+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
165+
COPY_PHASE_STRIP = NO;
166+
ENABLE_STRICT_OBJC_MSGSEND = YES;
167+
GCC_C_LANGUAGE_STANDARD = gnu99;
168+
GCC_DYNAMIC_NO_PIC = NO;
169+
GCC_OPTIMIZATION_LEVEL = 0;
170+
GCC_PREPROCESSOR_DEFINITIONS = (
171+
"DEBUG=1",
172+
"$(inherited)",
173+
);
174+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
175+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
176+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
177+
GCC_WARN_UNDECLARED_SELECTOR = YES;
178+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
179+
GCC_WARN_UNUSED_FUNCTION = YES;
180+
GCC_WARN_UNUSED_VARIABLE = YES;
181+
MACOSX_DEPLOYMENT_TARGET = 10.9;
182+
MTL_ENABLE_DEBUG_INFO = YES;
183+
ONLY_ACTIVE_ARCH = YES;
184+
SDKROOT = macosx;
185+
};
186+
name = Debug;
187+
};
188+
C31CD3901CD6484100863554 /* Release */ = {
189+
isa = XCBuildConfiguration;
190+
buildSettings = {
191+
ALWAYS_SEARCH_USER_PATHS = NO;
192+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
193+
CLANG_CXX_LIBRARY = "libc++";
194+
CLANG_ENABLE_MODULES = YES;
195+
CLANG_ENABLE_OBJC_ARC = YES;
196+
CLANG_WARN_BOOL_CONVERSION = YES;
197+
CLANG_WARN_CONSTANT_CONVERSION = YES;
198+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
199+
CLANG_WARN_EMPTY_BODY = YES;
200+
CLANG_WARN_ENUM_CONVERSION = YES;
201+
CLANG_WARN_INT_CONVERSION = YES;
202+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
203+
CLANG_WARN_UNREACHABLE_CODE = YES;
204+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
205+
COPY_PHASE_STRIP = YES;
206+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
207+
ENABLE_NS_ASSERTIONS = NO;
208+
ENABLE_STRICT_OBJC_MSGSEND = YES;
209+
GCC_C_LANGUAGE_STANDARD = gnu99;
210+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
211+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
212+
GCC_WARN_UNDECLARED_SELECTOR = YES;
213+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
214+
GCC_WARN_UNUSED_FUNCTION = YES;
215+
GCC_WARN_UNUSED_VARIABLE = YES;
216+
MACOSX_DEPLOYMENT_TARGET = 10.9;
217+
MTL_ENABLE_DEBUG_INFO = NO;
218+
SDKROOT = macosx;
219+
};
220+
name = Release;
221+
};
222+
C31CD3921CD6484100863554 /* Debug */ = {
223+
isa = XCBuildConfiguration;
224+
buildSettings = {
225+
HEADER_SEARCH_PATHS = (
226+
"$(inherited)",
227+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
228+
/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m,
229+
);
230+
LIBRARY_SEARCH_PATHS = (
231+
"$(inherited)",
232+
"$(LOCAL_LIBRARY_DIR)/Frameworks/Python.framework/Versions/3.4",
233+
);
234+
PRODUCT_NAME = "$(TARGET_NAME)";
235+
};
236+
name = Debug;
237+
};
238+
C31CD3931CD6484100863554 /* Release */ = {
239+
isa = XCBuildConfiguration;
240+
buildSettings = {
241+
HEADER_SEARCH_PATHS = (
242+
"$(inherited)",
243+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
244+
/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m,
245+
);
246+
LIBRARY_SEARCH_PATHS = (
247+
"$(inherited)",
248+
"$(LOCAL_LIBRARY_DIR)/Frameworks/Python.framework/Versions/3.4",
249+
);
250+
PRODUCT_NAME = "$(TARGET_NAME)";
251+
};
252+
name = Release;
253+
};
254+
/* End XCBuildConfiguration section */
255+
256+
/* Begin XCConfigurationList section */
257+
C31CD3851CD6484100863554 /* Build configuration list for PBXProject "PythonSubclassList" */ = {
258+
isa = XCConfigurationList;
259+
buildConfigurations = (
260+
C31CD38F1CD6484100863554 /* Debug */,
261+
C31CD3901CD6484100863554 /* Release */,
262+
);
263+
defaultConfigurationIsVisible = 0;
264+
defaultConfigurationName = Release;
265+
};
266+
C31CD3911CD6484100863554 /* Build configuration list for PBXNativeTarget "PythonSubclassList" */ = {
267+
isa = XCConfigurationList;
268+
buildConfigurations = (
269+
C31CD3921CD6484100863554 /* Debug */,
270+
C31CD3931CD6484100863554 /* Release */,
271+
);
272+
defaultConfigurationIsVisible = 0;
273+
defaultConfigurationName = Release;
274+
};
275+
/* End XCConfigurationList section */
276+
};
277+
rootObject = C31CD3821CD6484100863554 /* Project object */;
278+
}

src/debugging/XcodeExample/PythonSubclassList/PythonSubclassList.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "Yes"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
filePath = "PythonSubclassList/SubclassList.c"
13+
timestampString = "484767965.455714"
14+
startingColumnNumber = "9223372036854775807"
15+
endingColumnNumber = "9223372036854775807"
16+
startingLineNumber = "28"
17+
endingLineNumber = "28"
18+
landmarkName = "ScList_append()"
19+
landmarkType = "7">
20+
<Locations>
21+
<Location
22+
shouldBeEnabled = "Yes"
23+
ignoreCount = "0"
24+
continueAfterRunningActions = "No"
25+
symbolName = "ScList_append"
26+
moduleName = "PythonSubclassList"
27+
urlString = "file:///Users/paulross/dev/Xcode/Python/PythonSubclassList/PythonSubclassList/SubclassList.c"
28+
timestampString = "485263212.369305"
29+
startingColumnNumber = "9223372036854775807"
30+
endingColumnNumber = "9223372036854775807"
31+
startingLineNumber = "28"
32+
endingLineNumber = "28"
33+
offsetFromSymbolStart = "33">
34+
</Location>
35+
<Location
36+
shouldBeEnabled = "Yes"
37+
ignoreCount = "0"
38+
continueAfterRunningActions = "No"
39+
symbolName = "ScList_append"
40+
moduleName = "ScList.so"
41+
urlString = "file:///Users/paulross/dev/Xcode/Python/PythonSubclassList/PythonSubclassList/SubclassList.c"
42+
timestampString = "485263213.060027"
43+
startingColumnNumber = "9223372036854775807"
44+
endingColumnNumber = "9223372036854775807"
45+
startingLineNumber = "28"
46+
endingLineNumber = "28"
47+
offsetFromSymbolStart = "33">
48+
</Location>
49+
</Locations>
50+
</BreakpointContent>
51+
</BreakpointProxy>
52+
</Breakpoints>
53+
</Bucket>

0 commit comments

Comments
 (0)