summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2007-10-02 14:09:38 +0000
committerChristian Schneider2007-10-02 14:09:38 +0000
commitf6f613a0a87a03a9bed4503eae38ba7fba76478c (patch)
treed22b2e39646a6fef6cfa1f2da94bbd456d778a92
parente3ead6e7bb658a7a1f5a1b84002798801bc4d7de (diff)
downloaditools-f6f613a0a87a03a9bed4503eae38ba7fba76478c.tar.gz
itools-f6f613a0a87a03a9bed4503eae38ba7fba76478c.tar.bz2
itools-f6f613a0a87a03a9bed4503eae38ba7fba76478c.zip
Return error message if stack dump gets too large
-rw-r--r--it_debug.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/it_debug.class b/it_debug.class
index 79433db..e2a8925 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -143,6 +143,8 @@ function backtrace($skip = 0)
$result[] = basename($call['file']) . ":" . $call['line'];
}
}
+ else
+ $result[] = "*stack dump too large*";
return join(" ", $result);
}