Hi Rob, looking forward to your demo (..so this only occur when you are running a large code base?), Christian
2013/10/25 Rob Stapper r.stapper@lijbrandt.nl:
Hi Christian,
- I just downloaded the latest 7.8 beta release and this issue also occurs
in this version. 2) The issue also occurs even if I don't interrupt the program. 3) I'll see if I can reproduce this issue in a demo-program which I'll send you later. The program where this occurs is about 200 kB including modules. Maybe this is why the issue occurs.
Btw. I do like the map:serialize instruction in 7.8 version. I sure helps my debugging this 200kB monster. However a good debugger would help much more ;-)) ( sorry, old cow but I couldn't resist )
Regards, Rob
-----Oorspronkelijk bericht----- Van: Christian Grün [mailto:christian.gruen@gmail.com] Verzonden: vrijdag 25 oktober 2013 10:53 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] suppressing pre-evaluating information in evaluate-chapter in query-info window of BaseX-GUI
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($evaluateStatemen t.valuedBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche) , $nestedStatements.processor($evaluateStatement.valuedBranche/nestedSta tements)) }($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($evaluateStatemen t.valuedBranche), koopa:evaluateStatement.object.Value($evaluateStatement.valuedBranche) , $nestedStatements.processor($evaluateStatement.valuedBranche/nestedSta tements)) }($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($evaluateStatemen t.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