From c203d5c8e027a2cf0bea23540fc0edf93e4e37eb Mon Sep 17 00:00:00 2001 From: "alon@honor" Date: Sun, 29 Aug 2010 17:36:10 -0700 Subject: fix for 'sret' & other GEP features --- src/utility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utility.js') diff --git a/src/utility.js b/src/utility.js index f95e81f1..94a2132a 100644 --- a/src/utility.js +++ b/src/utility.js @@ -1,7 +1,7 @@ function dump(item) { try { - return JSON.stringify(item); + return JSON.stringify(item).substr(0,200); } catch(e) { var ret = []; for (var i in item) { @@ -12,7 +12,7 @@ function dump(item) { ret.push(i + ': [?]'); } } - return ret.join(', '); + return ret.join(', ').substr(0,200); } } -- cgit v1.2.3-18-g5258