summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class4
1 files changed, 4 insertions, 0 deletions
diff --git a/it_debug.class b/it_debug.class
index 5069185..e654851 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -127,6 +127,10 @@ function dump($args)
return "$r\n";
}
+/**
+ * Print short stackdump
+ * @param $skip number of stack levels to omip
+ */
function backtrace($skip = 0)
{
$result = array();