suppressing pre-evaluating information in evaluate-chapter in query-info window of BaseX-GUI
Hello, When using a trace-instruction, like this: let $dum := trace( $local:programName, 'programmaNaam: '), in a Xquery program in the BaseX-GUI I get pre-evaluating information of some functions mixed with my trace output in the Query-Info-window, see below. To be able to follow the programflow, I only want to see my trace-output, in this case the programName. Can I suppress this extra pre-evaluating query info? This for your reply in advance. Kind regards , Rob Stapper ============================================================================ ================================================================== QUERY INFO WINDOW Error: Interrupted. Evaluating: - programmaNaam: D03084 - pre-evaluating function($911 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valu edBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements.processor($evaluateStatement.valuedBranche/nestedStatement s)) }($911) } - pre-evaluating function($912 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valu edBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements.processor($evaluateStatement.valuedBranche/nestedStatement s)) }($912) } - pre-evaluating function($913 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valu edBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements
Hi Rob,
When using a trace-instruction, like this: let $dum := trace( $local:programName, 'programmaNaam: '), in a Xquery program in the BaseX-GUI
I get pre-evaluating information of some functions mixed with my trace output in the Query-Info-window, see below.
The Info View will always return both the evaluation and compilation info. However, the output should be clearly separated: _________________________________ Interrupted. Evaluating: - programmaNaam: D03084 Compiling: - pre-evaluating function($911 as element(when)) as map(*) { ... _________________________________ Did the mixup occur with the latest version or snapshot? And does the problem also occur when you don’t interrupt the query. And my last question: could you provide us with a little sample query that demonstrates the issue (you can use prof:sleep(...) to delay the output)? Thanks, Christian
To be able to follow the programflow, I only want to see my trace-output, in this case the programName.
Can I suppress this extra pre-evaluating query info?
This for your reply in advance.
Kind regards ,
Rob Stapper
==============================================================================================================================================
QUERY INFO WINDOW
Error:
Interrupted.
Evaluating:
- programmaNaam: D03084
- pre-evaluating function($911 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valuedBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements.processor($evaluateStatement.valuedBranche/nestedStatements)) }($911) }
- pre-evaluating function($912 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valuedBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements.processor($evaluateStatement.valuedBranche/nestedStatements)) }($912) }
- pre-evaluating function($913 as element(when)) as map(*) { function($evaluateStatement.valuedBranche as element(when)) as map(*) { cobol:selection.valuedBranche.constructor(db:node-id($evaluateStatement.valuedBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche), $nestedStatements
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Christian Grün -
Rob Stapper