How about some custom logging? for $i in (1 to 10) return if ($i = 4) then error() else file:append-text-lines('C:\tmp\file',string($i))
There might be more sophisticated ways. Daniel -----Ursprüngliche Nachricht----- Von: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> Im Auftrag von Patrick Durusau Gesendet: Dienstag, 19. April 2022 16:45 An: basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] Interrupted queries - partial results? Greetings! Is it possible to capture partial results from an interrupted query? When I realize a query is taking too long for the data involved, it might be helpful in correcting the mistake. Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.net Twitter: patrickDurusau