]> git.saurik.com Git - cycript.git/commitdiff
Put the filename in _trace to make it more useful.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 18 Nov 2015 07:48:28 +0000 (23:48 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 18 Nov 2015 07:48:28 +0000 (23:48 -0800)
Exception.hpp

index 0282f0f77a230b5b8f1a89ecf455423d4d9a6d1b..ff63b8c8e55eea230ec51710497a848ed07a976b 100644 (file)
@@ -78,7 +78,7 @@ while (false)
 _value; })
 
 #define _trace() do { \
-    fprintf(stderr, "_trace():%u\n", __LINE__); \
+    fprintf(stderr, "_trace(%s:%u)\n", __FILE__, __LINE__); \
 } while (false)
 
 static _finline bool CYContains(int value, size_t many, const int *okay) {