调试XQuery程序 [英] Debug XQuery Program

查看:127
本文介绍了调试XQuery程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在开始的时候,我写了一个XQuery脚本,该脚本旨在做一个小任务,只有这样。现在出来,这个XQuery脚本是完整的,我必须解决它。问题是,我的XQuery演变成一个程序,XQuery是一个痛苦的调试。我会需要的是:

In the beginning, I wrote a little XQuery script that was designed to do a small task and only that. Now it came out that this XQuery script is anything but complete, and I have to fix it. The problem is, my XQuery evolved into a program, and XQuery is a Pain to debug. Something that I would need would be:

打印某些东西到命令行,以检查程序当时是否有正确的节点。

Print something to the command line to check whether the program has the correct nodes at that time.

一个调试工具,显示存储的变量

A debugging tool that shows me the stored variables

推荐答案


我需要的是:

Something that I would need would be:

打印一些命令行到
检查天气progroms有
正确的节点当时。 p>

print something to the command line to check weather the progroms has the correct nodes at that time.

使用标准XPath 2.0函数 trace()

一个调试工具,显示
存储变量

a debugging tool that shows me the stored variables

有用于XQuery的varios IDE提出了一个调试器。例如,请查看 oXygen

There are varios IDEs for XQuery that come up with a Debugger. For example, have a look at oXygen.

这篇关于调试XQuery程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆