suppressing pre-evaluating information in evaluate-chapter in query-info window of BaseX-GUI

Friday, 25 October 2013 · 3 messages
RS
Rob Stapper25 Oct 2013 10:40 #
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
CG
Christian Grün25 Oct 2013 10:52 #
Hi Rob,
Quoted text · Rob Stapper · 6 lines
> 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
Quoted text · Rob Stapper · 55 lines
> 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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
CG
Christian Grün25 Oct 2013 14:24 #
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 at lijbrandt.nl>:
Quoted text · Christian Grün · 124 lines
> Hi Christian, > > 1) 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 at 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 at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >

⚡Generated with XQuery