aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-25 19:15:33 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-25 19:15:33 +0000
commit4c00151b8524186e33a28d456c9eef0073b3cee6 (patch)
treef5e83326ce855f745e38df2faf64d36ac7957ed0
parentb39aa4d62646ea359611a02cfc81d12159c34e15 (diff)
[Author: dmaclach]
Turns on some more debug flags. We actually ran into a nil sync problem with QSB that this should help out. DELTA=16 (16 added, 0 deleted, 0 changed) R=thomasvl
-rw-r--r--ReleaseNotes.txt4
-rwxr-xr-xUnitTesting/RunIPhoneUnitTest.sh8
-rwxr-xr-xUnitTesting/RunMacOSUnitTests.sh6
3 files changed, 17 insertions, 1 deletions
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index 7e76a23..92dbdba 100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
@@ -262,6 +262,10 @@ Changes since 1.5.1
current target/configs *.gcda files to avoid coverage data warning when you
edit source.
+- Added OBJC_DEBUG_UNLOAD=YES, and OBJC_DEBUG_NIL_SYNC=YES to our unittest shell
+ scripts to try and flush out some more bugs. We have intentionally NOT turned
+ on OBJC_DEBUG_FINALIZERS beacuse it spits out a lot of unnecessary false
+ positives.
Release 1.5.1
Changes since 1.5.0
diff --git a/UnitTesting/RunIPhoneUnitTest.sh b/UnitTesting/RunIPhoneUnitTest.sh
index ccf1456..82fa4c2 100755
--- a/UnitTesting/RunIPhoneUnitTest.sh
+++ b/UnitTesting/RunIPhoneUnitTest.sh
@@ -82,8 +82,14 @@ if [ "$PLATFORM_NAME" == "iphonesimulator" ]; then
export MallocGuardEdges=YES
export MallocStackLogging=YES
export NSAutoreleaseFreedObjectCheckEnabled=YES
+
+ # Turn on the mostly undocumented OBJC_DEBUG stuff.
export OBJC_DEBUG_FRAGILE_SUPERCLASSES=YES
-
+ export OBJC_DEBUG_UNLOAD=YES
+ # Turned off due to the amount of false positives from NS classes.
+ # export OBJC_DEBUG_FINALIZERS=YES
+ export OBJC_DEBUG_NIL_SYNC=YES
+
if [ ! $GTM_DISABLE_ZOMBIES ]; then
GTMXcodeNote ${LINENO} "Enabling zombies"
export CFZombieLevel=3
diff --git a/UnitTesting/RunMacOSUnitTests.sh b/UnitTesting/RunMacOSUnitTests.sh
index 87f678f..9aa83e4 100755
--- a/UnitTesting/RunMacOSUnitTests.sh
+++ b/UnitTesting/RunMacOSUnitTests.sh
@@ -184,7 +184,13 @@ export MallocScribble=YES
export MallocPreScribble=YES
export MallocGuardEdges=YES
export NSAutoreleaseFreedObjectCheckEnabled=YES
+
+# Turn on the mostly undocumented OBJC_DEBUG stuff.
export OBJC_DEBUG_FRAGILE_SUPERCLASSES=YES
+export OBJC_DEBUG_UNLOAD=YES
+# Turned off due to the amount of false positives from NS classes.
+# export OBJC_DEBUG_FINALIZERS=YES
+export OBJC_DEBUG_NIL_SYNC=YES
if [ ! $GTM_DISABLE_ZOMBIES ]; then
GTMXcodeNote ${LINENO} "Enabling zombies"