summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 12:59:34 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 12:59:34 +0100
commitb0e2912d3e5285300d2fd33a9414d3fd4bcc1a75 (patch)
tree6c2b27e76562066d0634c8d877485f8b707a2bf7 /Objective-C
parent6461ee6b81416f079125de5d428014686b792982 (diff)
Objective-C layer: Add more debugging aids.
darcs-hash:ba7da4d9099567eea4884179b479210d61651ad1
Diffstat (limited to 'Objective-C')
-rw-r--r--Objective-C/libobjcl.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index 85fc492..eb6bdd6 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -215,7 +215,7 @@ objcl_invoke_with_types (int argc,
either. */
method = objcl_get_method_implementation (receiver, method_selector,
superclass_for_send_super);
- TRACE (@"method == NULL");
+ TRACE (@"method ?= NULL");
if (method == NULL)
[[NSException exceptionWithName: @"MLKNoApplicableMethod"
reason: @"Tried to call a non-existent method."
@@ -678,6 +678,8 @@ imp_closure (ffi_cif *cif, void *result, void **args, void *user_data)
{
id exception;
+ TRACE (@"imp-closure");
+
ffi_call (cif, user_data, result, args);
exception = objcl_current_exception;
@@ -686,6 +688,8 @@ imp_closure (ffi_cif *cif, void *result, void **args, void *user_data)
if (exception != nil)
[exception raise];
+
+ TRACE (@"imp-closure => %");
}