* Add "..." to the trace message.
svn path=/nixpkgs/trunk/; revision=32559
This commit is contained in:
parent
675e16f805
commit
5f78cfa108
|
@ -42,7 +42,7 @@ rec {
|
||||||
else if x == null then "x is null"
|
else if x == null then "x is null"
|
||||||
else if isInt x then "x is an integer `${toString x}'"
|
else if isInt x then "x is an integer `${toString x}'"
|
||||||
else if isString x then "x is a string `${substring 0 50 x}...'"
|
else if isString x then "x is a string `${substring 0 50 x}...'"
|
||||||
else "x is probably a path `${substring 0 50 (toString x)}'";
|
else "x is probably a path `${substring 0 50 (toString x)}...'";
|
||||||
|
|
||||||
# trace the arguments passed to function and its result
|
# trace the arguments passed to function and its result
|
||||||
# maybe rewrite these functions in a traceCallXml like style. Then one function is enough
|
# maybe rewrite these functions in a traceCallXml like style. Then one function is enough
|
||||||
|
|
Loading…
Reference in New Issue