Debugging with MarkLogic

To start a debug session against the MarkLogic engine you will first need to configure a MarkLogic data source and a MarkLogic connection. Also you have to make sure that the debugging support is enabled in the MarkLogic server that will be accessed from Oxygen XML Developer plugin . On the server side debugging must be activated both in the XDBC server and in the section Task Server of the server control console (the switch debug allow) otherwise the error DBG-TASKDEBUGALLOW is reported by the MarkLogic server.

The MarkLogic XQuery debugger integrates seamlessly into the XQuery Debugger perspective. If you already have a MarkLogic scenario configured for the XQuery file you can choose directly to debug the scenario. If not, you just have to switch to the XQuery Debugger perspective, open the XQuery file in the editor and select the MarkLogic connection in the XQuery engine selector from the debug control toolbar. For general information about how a debugging session is started and controlled see the Working with the Debugger section.