Hi Marc,
Would it be possible to add automatic serialization of map and array types in fn:trace?
Makes sense; or, better, made sense, as I've just extended fn:trace() and prof:dump() to also serialize maps and arrays. Beside that, any other function items can now be specified, too [1].
Best, Christian
[1] http://files.basex.org/releases/latest/
When using it should be transparent but currently providing a map or array fails. To trace it I now use awkward code to do it since I have to call map:serialize and array:serialize myself. E.g. (fn:trace(map:serialize($map, 'X: ')), func($map))[2]
Cheers, --Marc