
That is not possible if the XQuery was not started in a debugging context on the MarkLogic server. The Oxygen XQuery debugger can run an XQuery only if the XQuery is started in debug mode on the MarkLogic server and only if that is an XDMP server. In a future version we will improve the XQuery debugger to step into an XQuery from the server that is invoked with xdmp:invoke() from a local XQuery file. Regards, Sorin Lee, David wrote:
Thank you, that would be a very useful feature. Another useful feature would be to be able to either connect to a running XQuery from the APP Server, or to simulate the request arguements. For example if I have a xquery running in mark logic app server (not the XDBC server)
And I call it via a URL from a brower like http://marklogic:1234/myquery.xquery?arg=value
Inside that query I can use
let $arg := xdmp:get-request-field("value")
Your suggestion of xdmp:invoke() I dont think simulates the request fields passed in from an HTTP invocation of an xquery running in the App server component of markLogic.