#1193 Tracing of FLWOR expressions

v9.4
open
5
2012-10-08
2012-01-04
Michael Kay
No

The new 9.4 implementation of FLWOR expressions does not allow fine-grained tracing/monitoring at the clause level, which is problem for tools that implement a debugger. A patch (rather extensive) to fix this deficiency is being placed in Subversion. The patch introduces a new kind of FLWOR clause, the TraceClause, and a new method on the CodeInjector allowing TraceClauses to be injectied into a FLWOR pipeline; the TraceClause notifies the TraceListener of each tuple at run time, whether the pipeline is run in pull or push mode.

Discussion

  • Michael Kay

    Michael Kay - 2012-01-12

    A further patch has been added in Subversion revision 667 which makes namespace information available to a TraceListener when invoked at the level of a clause in a FLWOR expression. This is needed by one of the debuggers that operates with Saxon.

     
  • Michael Kay

    Michael Kay - 2012-01-23

    Fixed in 9.4.0.2

     
  • Michael Kay

    Michael Kay - 2012-01-26

    The second patch, to provide namespace information to the trace listener, is incomplete in the version issued with 9.4.0.2. A new patch is therefore being raised which makes further changes to the TraceClause and ClauseInfo.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks