bigger range on debug messages

This commit is contained in:
Joe Shochet 2005-09-29 01:26:06 +00:00
parent 5c5faf6bbd
commit 99db9e480e
1 changed files with 3 additions and 2 deletions

View File

@ -130,8 +130,9 @@ def traceFunctionCall(frame):
r+='='
if dict.has_key(name):
v=str(dict[name])
if len(v)>200:
r+="<too big for debug>"
if len(v)>2000:
# r+="<too big for debug>"
r += (str(dict[name])[:2000] + "...")
else:
r+=str(dict[name])
else: r+="*** undefined ***"