From f6f613a0a87a03a9bed4503eae38ba7fba76478c Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 2 Oct 2007 14:09:38 +0000 Subject: Return error message if stack dump gets too large --- it_debug.class | 2 ++ 1 file changed, 2 insertions(+) (limited to 'it_debug.class') 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); } -- cgit v1.2.3