debugging

Wednesday, 6 May 2015 · 1 message
RS
Rob Stapper6 May 2015 17:25 #
Hi, For those who, like myself, loose themselves often in their code, hereby a little debug-facility. Nothing much but it helps me keep track of my code. To get an idea of the debug-output, have a look at the attached output-file. Unfortunately the code isn't integrated in the BaseX-core, but it's just an xquery-module. So you, unfortunately, do have to write a few debug-calls in your, probably already buggy, code. On the other hand it's pretty straight forward; see attachment "debug_demo.xq" for usage. Hopes this can be of use for somebody. Rob Stapper. Ps. Improvements are very welcome. --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com

⚡Generated with XQuery