]> git.saurik.com Git - cycript.git/blobdiff - Exception.hpp
Put the filename in _trace to make it more useful.
[cycript.git] / 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) {