diff --git a/Debug.php b/Debug.php
index <HASH>..<HASH> 100644
--- a/Debug.php
+++ b/Debug.php
@@ -128,4 +128,9 @@ final class Debug
         
         return $return;
     }
+
+    public static function toString($obj)
+    {
+        return method_exists('__toString', $obj) ? (string) $obj : get_class($obj) . '@' . spl_object_hash($obj);
+    }
 }
Added Debug:toString