XQuery Debugger
An overview of the Stylus Studio XQuery Debugger that alows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.
http://www.stylusstudio.com/xquery_debugger.html